Bug 1017 - Compiling error on HP-UX 11.31
Compiling error on HP-UX 11.31
Status: RESOLVED WORKSFORME
Product: Sudo
Classification: Unclassified
Component: Sudo
1.9.8
HP HI-UX/MPP
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-01-10 16:59 MST by Jeremy Ho
Modified: 2022-03-04 09:16 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Ho 2022-01-10 16:59:39 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.
Comment 1 Todd C. Miller 2022-01-10 19:50:00 MST
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.