From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Brewer, Edward" Newsgroups: gmane.os.tru64.managers Subject: Update: Problems with compiling Ted Date: Thu, 27 Jun 2002 11:28:39 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <7B386924C5CAD0428322085D0F0F766F60ACC6@ODEXC4> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1025192163 15420 127.0.0.1 (27 Jun 2002 15:36:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2002 15:36:03 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17NbJS-00040Y-00 for ; Thu, 27 Jun 2002 17:36:02 +0200 Original-Received: (qmail 10124 invoked by uid 5); 27 Jun 2002 15:29:41 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10116 invoked from network); 27 Jun 2002 15:29:41 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 27 Jun 2002 15:29:41 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GYD00896F1DMX@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jun 2002 11:29:41 -0400 (EDT) Original-Received: from ims2.hub.nih.gov (ims2.hub.nih.gov [128.231.90.112]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GYD008BMF12GW@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jun 2002 11:29:27 -0400 (EDT) Original-Received: by ims2.hub.nih.gov with Internet Mail Service (5.5.2655.55) id ; Thu, 27 Jun 2002 11:29:25 -0400 Content-return: allowed Original-To: "'Tru64-Unix-Managers \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2655.55) Xref: main.gmane.org gmane.os.tru64.managers:729 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:729 Admins, I received two responses that helped, but still did not fix my current problem From: Uwe Lienig Hey, simply search the managers list for libjpeg. The problem is: there is a libjpeg.so in ?/shlib. Watch out at From: Bob Marcan The main problem is /usr/shlib/libjpeg.so (part of JAVA118). I just renamed it to libjpeg.so.DISABLED without any harm. Try this: JPEG_LIB="-L/usr/local/lib -ljpeg" ./configure If you want some examples look at http://www.aster.si/download/tru64/SPECS/ Regards, Bob End of user comments I read through the entries and noticed that one article mentioned setting LD_LIBRARY_PATH to start with /usr/local/lib. I did that and it still fails. I even disabled the lib by moving it to /usr/shlib/libjpeg.so.DISABLED; this also fails with the same error. I don't think it is mixing up the shared lib with the one in /usr/local/lib. I even got it to use -L/usr/local/lib -ljpeg. I went back to my installation of libjpeg. If I compile it using just configure, make, and make install... I get four executables that are moved into /usr/local/bin. I had to manually move the .h files to /usr/local/include and the .a file to /usr/local/lib. I tried to compile using configure --enable-static or configure --enable-shared... I get the following error checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -E checking for function prototypes... yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for size_t... yes checking for type unsigned char... yes checking for type unsigned short... yes checking for type void... yes checking for working const... yes checking for inline... __inline__ checking for broken incomplete types... ok checking for short external names... ok checking to see if char is signed... yes checking to see if right shift is signed... yes checking to see if fopen accepts b spec... yes checking for a BSD compatible install... /usr/bin/installbsd -c checking for ranlib... ranlib checking host system type... Invalid configuration `alphaev6-dec-osf5.1': machine `alphaev6-dec' not recognized checking libjpeg version number... 62 creating ./config.status creating Makefile creating jconfig.h jconfig.h is unchanged Has anyone seen this? Lee Brewer