HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compiling samba-2.2.0 on 10.20 without HP C/AN...
Operating System - HP-UX
1833867
Members
1969
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2001 10:01 PM
05-30-2001 10:01 PM
Compiling samba-2.2.0 on 10.20 without HP C/ANSI C Developer's Bundle
Currently compiling samba-2.2.0 on a 10.20 box without an Ansi C complicant Dev Bundle. I know Samba to compile fine with the bundle.
Unfortunately with most of the systems with the bundle having already upgraded to 11.00, I have little choice but to compile on the 10.20 box without it.
I am sure it might be solved by exporting new compiler options.
The tail of the current errors outputed by ./configure are as follows:
checking whether to use NISPLUS password database... no
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use syslog logging... no
checking whether to use profiling... no
checking whether to support netatalk... no
checking whether to support disk-quotas... no
checking whether to support utmp accounting... no
checking whether to support Microsoft Dfs... no
checking whether to support the experimantal Samba vfs... no
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking checking if large file support can be enabled... no
checking whether to support ACLs... no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config
Glenn Stewart
Unfortunately with most of the systems with the bundle having already upgraded to 11.00, I have little choice but to compile on the 10.20 box without it.
I am sure it might be solved by exporting new compiler options.
The tail of the current errors outputed by ./configure are as follows:
checking whether to use NISPLUS password database... no
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use syslog logging... no
checking whether to use profiling... no
checking whether to support netatalk... no
checking whether to support disk-quotas... no
checking whether to support utmp accounting... no
checking whether to support Microsoft Dfs... no
checking whether to support the experimantal Samba vfs... no
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking checking if large file support can be enabled... no
checking whether to support ACLs... no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config
Glenn Stewart
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2001 10:15 PM
05-30-2001 10:15 PM
Re: Compiling samba-2.2.0 on 10.20 without HP C/ANSI C Developer's Bundle
you really should use gcc to compile samba.
gcc is available from the Software Porting And Archive Centre for HP-UX at http://hpux.cs.utah.edu/
gcc is available from the Software Porting And Archive Centre for HP-UX at http://hpux.cs.utah.edu/
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2001 04:02 PM
05-31-2001 04:02 PM
Re: Compiling samba-2.2.0 on 10.20 without HP C/ANSI C Developer's Bundle
Thanks for your suggestion on installing gcc.
Being a development box, I really don't mind doing so. It did bring up new errors though.
Prior to using gcc I exported CC
# export CC=/opt/gcc/bin/gcc
(without this, Samba configure fails to find gcc)
I decided to use
export CFLAGS="-Ae"
The started the configure again.
# ./configure
loading cache ./config.cache
checking for gcc... /opt/gcc/bin/gcc
checking whether the C compiler (/opt/gcc/bin/gcc -O -Ae ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
Starting to think another set of CFLAGS might be the way to go. Any suggestions?
Glenn Stewart
Being a development box, I really don't mind doing so. It did bring up new errors though.
Prior to using gcc I exported CC
# export CC=/opt/gcc/bin/gcc
(without this, Samba configure fails to find gcc)
I decided to use
export CFLAGS="-Ae"
The started the configure again.
# ./configure
loading cache ./config.cache
checking for gcc... /opt/gcc/bin/gcc
checking whether the C compiler (/opt/gcc/bin/gcc -O -Ae ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
Starting to think another set of CFLAGS might be the way to go. Any suggestions?
Glenn Stewart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2001 04:44 PM
05-31-2001 04:44 PM
Re: Compiling samba-2.2.0 on 10.20 without HP C/ANSI C Developer's Bundle
First, if you have gcc installed, you also need bin-utils. Else you will have strange linker problems, and even more fatal is the lack of an assembler, so even if you work around the ld problems, you wont be able to assemble anyway...
Next, you will get this error on 10.20, because an inability in 10.20 to lock files from the system level. This takes modifying the configure with a switch to disable file locking.
Have you thought of downloading from the porting center to remove all of these problems? It's already built, so you wont have to re-invent the wheel!
Regards,
Shannon
Next, you will get this error on 10.20, because an inability in 10.20 to lock files from the system level. This takes modifying the configure with a switch to disable file locking.
Have you thought of downloading from the porting center to remove all of these problems? It's already built, so you wont have to re-invent the wheel!
Regards,
Shannon
Microsoft. When do you want a virus today?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP