Re: Broken system web pages - ideas?
Let me expand slightly on my concept, by giving three (trivial?) suggestions for what could be included: a) Check that gcc, g++ and g77 are all the same version. b) At least for Linux, check that /etc/ld.so.conf contains /usr/local/lib, then run /sbin/ldconfig -v and check that there are not any broken links c) Check that users have rights to libraries in /usr/local/lib Any suggestions for other "tips", or an existing web page with more? --- Laurence Marks Department of Materials Science and Engineering MSE Rm 2036 Cook Hall 2225 N Campus Drive Northwestern University Evanston, IL 60201, USA Tel: (847) 491-3996 Fax: (847) 491-7820 mailto:[EMAIL PROTECTED] http://www.numis.nwu.edu ---
Broken system web pages - ideas?
While testing a package on a number of systems, it has become clear to me that they are often "broken" in non-obvious ways. As just two examples that I have come across: 1) Users not having permissions to shared libraries 2) Duplicate, and inconsistent gcc/g++/g77 compilers Has anyone ever collected a list of these, and suggestions of what to do on a web page? (I would be glad to collate these if you want to send them to me off-line.) --- Laurence Marks Department of Materials Science and Engineering MSE Rm 2036 Cook Hall 2225 N Campus Drive Northwestern University Evanston, IL 60201, USA Tel: (847) 491-3996 Fax: (847) 491-7820 mailto:[EMAIL PROTECTED] http://www.numis.nwu.edu ---
automake/autoconf issues on a sun
Togethor with a collaborator, we are putting togethor a gnu-like package for some scientific analysis. We have it running on Linux, HP, SGI with both gcc and native compilers but have run in to some problems on two Sun's; maybe someone can make suggestions. 1) One of the systems has both X11R5 and X11R6 and it looks like AC_PATH_XTRA may be getting confused about which one to use. Does it seach by decreasing or increasing release? (We have had to use --x- to override. One of the codes that we use, written by someone else, looks in Xlib.h to find the release so chaos can ensue.) Maybe tk or tcl has some macro's which do a more careful job (?) 2) We have some link tests to check for appropriate versions of a couple of libraries (i.e. compiled with gcc or cc) which look like they don't work on a sun. Does sun test for the existence/viability of shared libraries during the link phase or only during execution? Are there any macro's for LD_LIBRARY_PATH? (I had configure and make run through with no apparent problems when I did not have permissions to execute one of the stdc++ libraries!) 3) The location of includes and executables seems to be quite varied on the two sun's that I've looked at. Is there supposed to be a "standard" set of directories that perhaps should be added, or do we have to leave it to the user to ensure that things are right? For reference, we're using automake-1.7 and autoconf-2.57 and libtool-1.5. N.B. Maybe someday someone will write AC_CHECK_NUTS_SYSTEM to look for some of the common system software misconfigurations! --- Laurence Marks Department of Materials Science and Engineering MSE Rm 2036 Cook Hall 2225 N Campus Drive Northwestern University Evanston, IL 60201, USA Tel: (847) 491-3996 Fax: (847) 491-7820 mailto:[EMAIL PROTECTED] http://www.numis.nwu.edu ---
Re: Verbose output during make
Thanks. However, I noticed that I am only getting the excessing output with gcc & g++; g77 files are compiling “nicer” (i.e. as single lines with the options rather than everything else). Any hints?
Verbose output during make
A simple (trivial?) question. Is there a flag in automake to reduce the output that the user sees (not the -s in gmake); for instance I am gettting as one example: -c -o ftwi_64.lo `test -f 'ftwi_64.c' || echo './'`ftwi_64.c; \ then mv ".deps/ftwi_64.Tpo" ".deps/ftwi_64.Plo"; \ else rm -f ".deps/ftwi_64.Tpo"; exit 1; \ (N.B. Using automake-1.7, autoconf-2.57) Laurence Marks Department of Materials Science and Engineering Northwestern University Evanston, IL 60201, USA Tel: (847) 491-3996 Fax: (847) 491-7820 mailto:[EMAIL PROTECTED] http://www.numis.northwestern.edu