Operating System - HP-UX
1838205 Members
4364 Online
110125 Solutions
New Discussion

Re: Problem compiling sudo 1.6.8p1 for HPUX11 32-bit (problem)

 
SOLVED
Go to solution
Tony Walker_2
Frequent Advisor

Problem compiling sudo 1.6.8p1 for HPUX11 32-bit (problem)

Hi,

When trying to compile sudo from source on my 11.00 32bit machine I get the following error output from ./configure

###############################
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
###############################

The offending entry in config.log is as follows:
###############################
configure:3889: checking for C compiler default output
configure:3892: cc conftest.c >&5
configure:3895: $? = 0
configure:3941: result: a.out
configure:3946: checking whether the C compiler works
configure:3952: ./a.out
./configure[3953]: ./a.out: Execute permission denied.
configure:3955: $? = 126
configure:3962: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
###############################

Any ideas?

Thanks,

Tony
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: Problem compiling sudo 1.6.8p1 for HPUX11 32-bit (problem)

Hi Tony,

Not an answer to your question, but you can download a precompiled version for 11.0 from

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.7p5/

Regards,
Robert-Jan
Steven E. Protter
Exalted Contributor
Solution

Re: Problem compiling sudo 1.6.8p1 for HPUX11 32-bit (problem)

Consider the depot version.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p1/

Pre-compiled, save version number.

Easier to install, no compiler required.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tony Walker_2
Frequent Advisor

Re: Problem compiling sudo 1.6.8p1 for HPUX11 32-bit (problem)

Stephen,

The precomiled versions only seem to be for 11i (64bit) and 11.23. The '11' version is just the source code which I have downloaded and tried to compile with the same error. Can I use the 11i depot?

Cheers,

Tony
Tony Walker_2
Frequent Advisor

Re: Problem compiling sudo 1.6.8p1 for HPUX11 32-bit (problem)

Well, just tried installing from the 11i depot and it works fine. I'd obviously over estimated with potential problem with differing kernel_bits..

Thanks.