Re: Compilation/use problem

Check to see that 1.2.8 got installed to the same location that 1.2.7 was
installed previously.  The default location with a vanilla ./configure
uses /usr/local as the root location (putting the libraries in
/usr/local/lib)  if 1.2.7 is rooted in /usr then there's gonna be a
problem.  If the original install is an rpm I suggest removing it before
compiling/installing the new version.

If you do tell configure to root the install to the same location as the
previous install, everything should work just fine, however you will still
have the older libraries available (not a bad thing, but space consuming).

Leeman Strout

On Tue, 15 Aug 2000, Rich Shepard wrote:

>   I encounter a problem when trying to compile a gtk-using application.
> Yesterday, it also cropped up after I downloaded glib/gtk+ 1.2.8 and
> compiled/installed glib-1.2.8 over glib-1.2.7. I'm confident the problem has
> a simple fix, but I've not yet found it.
>   After running ./configure; make; make install for glib-1.2.8, I ran
> /sbin/ldconfig. I then tried to do the same sequence with gtk+-1.2.8. Here,
> ./configure failed. Apparently, gtk-config reported glib version 1.2.8, but
> autoconf found 1.2.7.
>   This is the same problem I encounter when trying to build an application
> that requires glib/gtk+. The last time (Sunday), ./configure failed saying
> that version 1.2.7 was reported, but version 1.2.3 was found. Something has
> become messed up here, and I don't know what it is.
>   Here's the contents of /etc/
> /lib
> /usr/local/lib
> /usr/local/lib/sane
> /usr/local/lib/glib
> /usr/X11R6/lib
> /usr/lib
> /usr/i486-linux-libc5/lib/
> /usr/i486-linux-libc5/lib
>   (This is on a Red Hat 6.1 system.)
>   Will someone here please educate me about this problem? Where are
> glib/gtk+ being installed that other programs (particularly autoconf) cannot
> find the correct current version? How do I fix this problem so it goes away
> permanently?
> TIA,
> Rich
> Dr. Richard B. Shepard, President
>                        Applied Ecosystem Services, Inc. (TM)
>               Making environmentally-responsible mining happen. (SM)         
>                        --------------------------------
>             2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
>  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) |
> _______________________________________________
> gtk-list mailing list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]