Title: | Archive/Backup |
Moderator: | COOKIE::MHUA IG |
Created: | Wed Sep 08 1993 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 479 |
Total number of notes: | 2283 |
Hi, I have a customer attempting a UNIX client install on an HP 9.05 system. The configure seems to go through ok, but the make looks like the following. Had them check the cc man page and there is a -g option listed. Any ideas? Not sure what version of the C compiler they have...whats the best way to check? Thanks... Ted P.S. I typed this in by hand, so anything that might look funny could be a typo. #make No suffix list. for subdir in doc lib intl src scripts po; do \ echo making all in $subdir; \ (cd $subdir && make CC='cc' CFLAGS='-g' LDFLAGS='' LIBS='' prefix='/u sr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' libexecdir='/usr/loc al/libexec' infodir='/usr/local/info' infodir='/usr/local/info' libexecdir='/us r/local/libexec' all) || exit 1; \ done making all in doc No suffix list. making all in lib cc -c -DHAVE_CONFIG_H -I.. -I. -g alloca.c cc: warning 422: Unknown option "g" ignored. . . .same message for gmalloc.c rx.c error.c getdate.c getopt.c getopt1.c stpcpy.c xgetcwd.c xmalloc.c xstrdup.c . . . rm -f libtar.a ar cru libtar.a alloc.o gmalloc.o rx.o error.o getdate.o getopt.o get opt1.o stpcpy.o xgetcwd.o xmalloc.o xstrdup.o ranlib libtar.a ranlib: ar already did it for you, see ar(1). making all in intl Make: line 80: syntax error. Stop. *** Error code 1 Stop.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
433.1 | COOKIE::LEWIS | Fri Apr 18 1997 13:33 | 12 | ||
see note 370 , especially 370.2. I suspect it is the same problem. It looks like it is going past the -g problems. that is just a compiler warning. -g has to do with optimization. There may be a mismatch between the c compiler they are using, and the c man pages. the c compiler that is used will depend on their "PATH" (uppercase) environment var. Have them try the 370.2 solution let me know. I did get everything successfully built on HP/ux v9. jim | |||||
433.2 | CX3PST::BSS::SAUL | Fri Apr 18 1997 14:55 | 5 | ||
Thanks Jim, I'll have the customer try it. Ted | |||||
433.3 | CX3PST::BSS::SAUL | Mon Apr 21 1997 13:40 | 12 | ||
Hi Jim, All the errors are gone except the following... Make: line 80: syntax error. Stop. *** Error code 1 Anymore ideas? Thanks, Ted | |||||
433.4 | CX3PST::BSS::SAUL | Wed Apr 23 1997 16:25 | 3 | ||
Anymore ideas on this? Thanks. Ted | |||||
433.5 | I'll play with it this afternoon | COOKIE::LEWIS | Thu Apr 24 1997 13:41 | 4 | |
I had everything working on our hp system here. I'll try and look at it again this afternoon. jim | |||||
433.6 | now mine won't build either. | COOKIE::LEWIS | Thu Apr 24 1997 14:35 | 2 | |
failing on my hp system now, but different errors, different part of the build. I'll have to look at it some more. | |||||
433.7 | Ok, it works here now. | COOKIE::LEWIS | Mon Apr 28 1997 12:10 | 26 | |
Ok, I just followed the info I had in note 370 and it worked fine. However, I did find one thing that might cause some problems. What you need to do is copy the tar info to the hp system "untar" the info run configure as configure --disable-nls now edit the /intl/Makefile as mentioned in 370.2 finally run Make. This worked for me, installing on Hp v9 However, if you run configure again after you edit and fix the /intl/Makefile, configure will rebuild that file and wipe out your changes. I made this mistake so I had to re-edit the Make file and redo the change. After that, the make worked correctly, gave no errors, and did build me a executable in /src. Have the user look again at the /intl/Makefile to be sure it has the "# OBJECTS line commented. If it all looks ok, then have them run the make file, make a log of it, and forward it to me. Thanks, Jim | |||||
433.8 | CX3PST::BSS::SAUL | Fri May 02 1997 16:39 | 1 | ||
Finally got through this. The key is changing both MAKE files. |