According to =?iso-8859-2?Q?Krzysztof_=A3=B1czy=F1ski?=: > I have 2 HPUX machines. Both of them with the same system version 11i. I > can compile htdig 3.1.6 only on one of them, and on the other it's not > possible. > My question is how to compile htdig fully staticaly on the first machine > so I can use it on the second one without any requirements...??? > Maybe it's very easy, but I still don't know how to do this... > > Up to this moment I tried configure with LDFLAGS=-static CPPFLAGS=-static > CXXFLAGS=-static and all kind of combination... No results > :( --disable-shared and --enable-static also not good :((((
I don't believe --disable-shared and --enable-static have ever been implemented in the configure program for 3.1.6, only for 3.2 betas. LDFLAGS should be the one that does the trick. I'm not sure why it's not working for you. When you run... LDFLAGS=-static ./configure on your system, does that option appear on the cc or gcc command line in the following message? checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works... (where $CC, $CFLAGS & $LDFLAGS are replaced by their respective values) How about for the similar message for the C++ compiler? If you can't get configure to accept your LDFLAGS, you can always edit Makefile.config afterward, to add any flags you need to its LDFLAGS definition. If that still doesn't work, and you can see from the make output that -static is indeed being passed to the c++ command line for the link stage of each program, then check the ld(1) man page to see if it needs any other options for static linking. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

