I am trying to run ./configure but when it completes there are errors regarding locking. Can some-one point me to where in the doco I can get some help? Operating sys is HPUX 10.20 Samba version 2.0.7 Selective output as follows : loading cache ./config.cache checking for gcc... no checking for cc... cc checking whether the C compiler (cc -O ) works... yes checking whether the C compiler (cc -O ) is a cross-compiler... no . . . checking for fcntl locking... no checking for broken (glibc2.1/x86) 64 bit fcntl locking... no checking for 64 bit fcntl locking... no checking for sysv ipc... yes . . . checking statvfs64 function (SVR4)... no checking statvfs function (SVR4)... yes checking if large file support can be enabled no checking configure summary ERROR: No locking available. Running Samba would be unsafe Thanks Richard Brodie
I had the same problem even if i was connected as root. So i installed gcc and it worked fine. You can get gcc hp depot file here : http://hpux.cae.wisc.edu/index.html> -----Message d'origine----- > De: IT.Helpdesk@lincolnelectric.com.au > [SMTP:IT.Helpdesk@lincolnelectric.com.au] > Date: mercredi 6 septembre 2000 07:40 > ?: samba@us4.samba.org > Objet: Failure During configure > > > > > I am trying to run ./configure but when it completes there are errors > regarding > locking. > Can some-one point me to where in the doco I can get some help? > > Operating sys is HPUX 10.20 > Samba version 2.0.7 > > Selective output as follows : > > loading cache ./config.cache > checking for gcc... no > checking for cc... cc > checking whether the C compiler (cc -O ) works... yes > checking whether the C compiler (cc -O ) is a cross-compiler... no > . > . > . > checking for fcntl locking... no > checking for broken (glibc2.1/x86) 64 bit fcntl locking... no > checking for 64 bit fcntl locking... no > checking for sysv ipc... yes > . > . > . > checking statvfs64 function (SVR4)... no > checking statvfs function (SVR4)... yes > checking if large file support can be enabled > no > checking configure summary > ERROR: No locking available. Running Samba would be unsafe > > Thanks > > Richard Brodie >
Do you have GCC and the development libraries installed? The compilation appears to puke on the GCC development headers from your strace. It appears you have no GCC compiler available? Install GCC development libraries and try to recompile. If it still pukes, you will need to install all the development libs for your platform. Remember that it is always a good idea to install the libs even if you are not planning on running apps compiled against those same libs. (And no harm done). A good rule of thumb is to install almost all development libs............. it prevents puking on compilation. Steve> > > > I am trying to run ./configure but when it completes there are errors > regarding locking. Can some-one point me to where in the doco I can get > some help? > > Operating sys is HPUX 10.20 > Samba version 2.0.7 > > Selective output as follows : > > loading cache ./config.cache > checking for gcc... no > checking for cc... cc > checking whether the C compiler (cc -O ) works... yes > checking whether the C compiler (cc -O ) is a cross-compiler... no > . > . > . > checking for fcntl locking... no > checking for broken (glibc2.1/x86) 64 bit fcntl locking... no > checking for 64 bit fcntl locking... no > checking for sysv ipc... yes > . > . > . > checking statvfs64 function (SVR4)... no > checking statvfs function (SVR4)... yes > checking if large file support can be enabled > no > checking configure summary > ERROR: No locking available. Running Samba would be unsafe > > Thanks > > Richard Brodie > > > >------------------------------------------------------ steve@out-of-control.com We're out-of-control...... We Want You To Be Too! ------------------------------------------------------ You can't have everything. Where would you put it?