Bug 10433 - Unable to ./configure on RHEL
Summary: Unable to ./configure on RHEL
Status: RESOLVED INVALID
Alias: None
Product: TALLOC
Classification: Unclassified
Component: libtalloc (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Simo Sorce
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 11:36 UTC by RK
Modified: 2014-02-10 16:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RK 2014-02-10 11:36:40 UTC
Hi all,
Please bear me since I'm a newbie. I'm unable to run ./configure on talloc source download. I get the following error on running ./configure :

Traceback (most recent call last):
  File "./buildtools/bin/waf", line 76, in <module>
    Scripting.prepare(t, cwd, VERSION, wafdir)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Scripting.py", line 145, in prepare
    prepare_impl(t, cwd, ver, wafdir)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Scripting.py", line 135, in prepare_impl
    main()
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Scripting.py", line 188, in main
    fun(ctx)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Scripting.py", line 241, in configure
    conf.sub_config([''])
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Utils.py", line 634, in recurse
    f(self)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/wscript", line 40, in configure
    conf.RECURSE('lib/replace')
  File "./buildtools/wafsamba/samba_utils.py", line 462, in RECURSE
    return ctx.sub_config(relpath)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Utils.py", line 634, in recurse
    f(self)
  File "./buildtools/wafsamba/samba_utils.py", line 48, in runonce_wrapper
    ret = function(*args)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/lib/replace/wscript", line 28, in configure
    conf.RECURSE('buildtools/wafsamba')
  File "./buildtools/wafsamba/samba_utils.py", line 462, in RECURSE
    return ctx.sub_config(relpath)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/buildtools/wafadmin/Utils.py", line 634, in recurse
    f(self)
  File "./buildtools/wafsamba/samba_utils.py", line 48, in runonce_wrapper
    ret = function(*args)
  File "/mnt/hgfs/Diameter_Stack/talloc-2.0.8/lib/replace/../../buildtools/wafsamba/wscript", line 425, in configure
    conf.SAMBA_BUILD_ENV()
  File "./buildtools/wafsamba/wafsamba.py", line 70, in SAMBA_BUILD_ENV
    os.symlink('../' + p, link_target)
OSError: [Errno 95] Operation not supported

Please help me through.

Regards
Ravikiran
Comment 1 Björn Baumbach 2014-02-10 12:18:23 UTC
Hi!

I assume, that this is no configure issue - it is a "HGFS" issue. 

There are further notes about this if you search the net for hgfs and symlinks:
"This issue occurs because the shared folders file system (HGFS) is not designed to allow navigation into a symbolic link."

Best regards
Björn
Comment 2 RK 2014-02-10 15:32:36 UTC
Thanks for Björn.. It works..!!

Even though this is not about configure, I'm writing this in the same thread.
But although the configure and compilation goes through fine, "make install" fails, with the following log :

Note: Writing talloc.3
Waf: Leaving directory `/home/agilairedev/FreeRadius/talloc-2.1.0/bin'
'build' finished successfully (1.920s)
[agilairedev@devhost talloc-2.1.0]$ make install
WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$PATH waf install
./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Waf: Entering directory `/home/agilairedev/FreeRadius/talloc-2.1.0/bin'
* installing bin/default/talloc.pc as /usr/local/lib/pkgconfig/talloc.pc
Waf: Leaving directory `/home/agilairedev/FreeRadius/talloc-2.1.0/bin'
Could not install the file '/usr/local/lib/pkgconfig/talloc.pc'
make: *** [install] Error 1

Please help me through.


(In reply to comment #1)
> Hi!
> 
> I assume, that this is no configure issue - it is a "HGFS" issue. 
> 
> There are further notes about this if you search the net for hgfs and symlinks:
> "This issue occurs because the shared folders file system (HGFS) is not
> designed to allow navigation into a symbolic link."
> 
> Best regards
> Björn
Comment 3 Björn Baumbach 2014-02-10 16:29:21 UTC
(In reply to comment #2)
> Thanks for Björn.. It works..!!

Thats good :-)

> Even though this is not about configure, I'm writing this in the same thread.
> But although the configure and compilation goes through fine, "make install"
> fails, with the following log :

I'm sure that you do not have the permissions to write to the destination directory. Run make install as root.

Please do not report those issues as bugs in future. If you are not sure whether it is a bug or not - you can ask the developers and users via the samba technical mailing lists.

Best regards,
Björn
Comment 4 RK 2014-02-10 16:48:51 UTC
Thanks for that as well.. :) It worked..! I was not aware of the fact that I can write to technical mailing lists, I'll do that in future. 

(In reply to comment #3)
> (In reply to comment #2)
> > Thanks for Björn.. It works..!!
> 
> Thats good :-)
> 
> > Even though this is not about configure, I'm writing this in the same thread.
> > But although the configure and compilation goes through fine, "make install"
> > fails, with the following log :
> 
> I'm sure that you do not have the permissions to write to the destination
> directory. Run make install as root.
> 
> Please do not report those issues as bugs in future. If you are not sure
> whether it is a bug or not - you can ask the developers and users via the samba
> technical mailing lists.
> 
> Best regards,
> Björn