[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::archive_backup

Title:Archive/Backup
Moderator:COOKIE::MHUAIG
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

433.0. "Unknown option "g" ignored...HP 9.05 Unix installation." by CX3PST::BSS::SAUL () Thu Apr 17 1997 11:17

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.RTitleUserPersonal
Name
DateLines
433.1COOKIE::LEWISFri Apr 18 1997 13:3312
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.2CX3PST::BSS::SAULFri Apr 18 1997 14:555
Thanks Jim, 

I'll have the customer try it.

Ted
433.3CX3PST::BSS::SAULMon Apr 21 1997 13:4012
Hi Jim,

All the errors are gone except the following...

Make: line 80: syntax error. Stop.
*** Error code 1

Anymore ideas?

Thanks,

Ted
433.4CX3PST::BSS::SAULWed Apr 23 1997 16:253
Anymore ideas on this?  Thanks.

Ted
433.5I'll play with it this afternoonCOOKIE::LEWISThu Apr 24 1997 13:414
I had everything working on our hp system here.  I'll try and look at it
again this afternoon.

jim
433.6now mine won't build either.COOKIE::LEWISThu Apr 24 1997 14:352
failing on my hp system now, but different errors, different part of the 
build.  I'll have to look at it some more.
433.7Ok, it works here now.COOKIE::LEWISMon Apr 28 1997 12:1026
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.8CX3PST::BSS::SAULFri May 02 1997 16:391
Finally got through this.  The key is changing both MAKE files.