Bugzilla – Bug 1017
Compiling error on HP-UX 11.31
Last modified: 2022-03-04 09:16:02 MST
Followed the instructions from HPUX.Install Untar 1.9.8p2 source code & installed the dependencies per HPUX.Install ./configure - looks fine make - errored out with the following last few lines: Not sure what was wrong and couldn't find similar error on website. Thanks. libtool: link: /bin/true .libs/sample_approval.a libtool: link: rm -fr .libs/sample_approval.lax .libs/sample_approval.lax libtool: link: ( cd ".libs" && rm -f "sample_approval.la" && ln -s "../sample_approval.la" "sample_approval.la" ) Make: line 342: syntax error. Stop. *** Error exit code 1 Stop.
I'm unable to reproduce that problem on HP-UX 11.31 with sudo-1.9.8p2.tar.gz from www.sudo.ws (and no additional patches). I've tried both /usr/ccs/bin/make and GNU make. If you downloaded the sudo source from somewhere else it is possible they've made some changes. Can you attach the Makefile that it is complaining about? I've guessing this is plugins/sudoers/Makefile but it not completely obvious from the the output you quoted. If you have GNU make installed you might try using that and see if you still get an error.