Compile/Install problem with glib-1.2.10 and gtk+1.2.10

Compile/Install problem with glib-1.2.10 and gtk+1.2.10

Post by jrj.. » Wed, 09 Jan 2002 14:25:54



Hello,

    I am a somewhat experienced Linux user.  I am trying to install
gEDA, an electronic circuit design tool, which needs glib 1.2.3, gtk+
1.2.3, and guile 1.4.  I downloaded the latest stable versions of glib
1.2.10 and gtk+ 1.2.10.  Here are my steps (as per the INSTALL file):

glib 1.2.10:
    [normal user]
    gzip -cd glib-1.2.10.tar.gz | tar xf -
    cd glib-1.2.10
    ./configure
    [root]
    mv /usr/include/glib-1.2/glib.h /usr/include/glib-1.2/glib.h.old
    mv /usr/include/glib-1.2/gmodule.h
/usr/include/glib-1.2/gmodule.h.old
    make install
** No errors reported.
    running /usr/local/bin/glib-config --version results in 1.2.10

gtk+ 1.2.10:
    [root]
    gzip -cd gtk+-1.2.10.tar.gz | tar xf -
    cd gtk+-1.2.10
    ./configure
** Output of this is attached.

Like the glib instructions said, I got rid of the glib.h and gmodule.h
files.
I do not know how to remove the previous glib versions that are on my
system.  I am running Red Hat 7.1.
I am not sure if the problem is that there are multiple versions of glib
on my system.  Do I need to remove all of them?  How do I do this?

If that is not the issue, does anyone know how I can get gtk+ to see
I do have the glib-1.2.10 installed?  Thanks for any help!

Jared

[ gtk-configure.output 1K ]
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  az ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr sv tr uk vi wa zh_CN.GB2312 zh_TW.Big5
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.8...
*** 'glib-config --version' returned 1.2.10, but GLIB (1.2.9)
*** was found! If glib-config was correct, then it is best
*** to remove the old version of GLIB. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure
no
configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.

 
 
 

Compile/Install problem with glib-1.2.10 and gtk+1.2.10

Post by Davi » Wed, 09 Jan 2002 14:47:16



> Hello,

>     I am a somewhat experienced Linux user.  I am trying to install
> gEDA, an electronic circuit design tool, which needs glib 1.2.3, gtk+
> 1.2.3, and guile 1.4.  I downloaded the latest stable versions of glib
> 1.2.10 and gtk+ 1.2.10.  Here are my steps (as per the INSTALL file):

> glib 1.2.10:
>     [normal user]
>     gzip -cd glib-1.2.10.tar.gz | tar xf -
>     cd glib-1.2.10
>     ./configure
>     [root]
>     mv /usr/include/glib-1.2/glib.h /usr/include/glib-1.2/glib.h.old
>     mv /usr/include/glib-1.2/gmodule.h
> /usr/include/glib-1.2/gmodule.h.old
>     make install
> ** No errors reported.
>     running /usr/local/bin/glib-config --version results in 1.2.10

> gtk+ 1.2.10:
>     [root]
>     gzip -cd gtk+-1.2.10.tar.gz | tar xf -
>     cd gtk+-1.2.10
>     ./configure
> ** Output of this is attached.

> Like the glib instructions said, I got rid of the glib.h and gmodule.h
> files.
> I do not know how to remove the previous glib versions that are on my
> system.  I am running Red Hat 7.1.
> I am not sure if the problem is that there are multiple versions of glib
> on my system.  Do I need to remove all of them?  How do I do this?

> If that is not the issue, does anyone know how I can get gtk+ to see
> I do have the glib-1.2.10 installed?  Thanks for any help!

> Jared

You should be able to build an rpm with:

 rpm -ta /path/to/glib-1.2.10.tar.gz

At least it works that way for both glib and gtk+ on a RH6.2 system.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

 
 
 

Compile/Install problem with glib-1.2.10 and gtk+1.2.10

Post by S. Par » Sun, 13 Jan 2002 11:38:27



> Hello,

>     I am a somewhat experienced Linux user.  I am trying to install
> gEDA, an electronic circuit design tool, which needs glib 1.2.3, gtk+
> 1.2.3, and guile 1.4.  I downloaded the latest stable versions of glib
> 1.2.10 and gtk+ 1.2.10.  Here are my steps (as per the INSTALL file):

> glib 1.2.10:
>     [normal user]
>     gzip -cd glib-1.2.10.tar.gz | tar xf -
>     cd glib-1.2.10
>     ./configure
>     [root]
>     mv /usr/include/glib-1.2/glib.h /usr/include/glib-1.2/glib.h.old
>     mv /usr/include/glib-1.2/gmodule.h
> /usr/include/glib-1.2/gmodule.h.old
>     make install
> ** No errors reported.
>     running /usr/local/bin/glib-config --version results in 1.2.10

> gtk+ 1.2.10:
>     [root]
>     gzip -cd gtk+-1.2.10.tar.gz | tar xf -
>     cd gtk+-1.2.10
>     ./configure
> ** Output of this is attached.

> Like the glib instructions said, I got rid of the glib.h and gmodule.h
> files.
> I do not know how to remove the previous glib versions that are on my
> system.  I am running Red Hat 7.1.
> I am not sure if the problem is that there are multiple versions of glib
> on my system.  Do I need to remove all of them?  How do I do this?

> If that is not the issue, does anyone know how I can get gtk+ to see
> I do have the glib-1.2.10 installed?  Thanks for any help!

> Jared

The reason is you haven't remove or move old glib libraries in /usr/lib,
and those are libglib.*. And your compilation w/ default configure
installed stuffs in /usr/local tree, and libs in /usr/lib are checked
first. Since glib and gtk+ are very basic libraries used by so many other
programs, perhaps upgrading your system to 7.2 can be a better solution.

Regards.

 
 
 

1. recompilation of glib-1.2.8, gtk+1.2.8 for Redhat 6.2

Hi!
Trying this newsgroup as I didn't get any response in alt.os.linux:
Im new to recompiling downloaded source code in Linux.

I have Redhat 6.2, and have rpm-ed glib-1.2.8 and gtk-1.2.8 on it.
I have to recompile glib/gtk in order to achieve something else in Ada.
I have downloaded the tar.gz files for glib/gtk 1.2.8, and put them on
/root/prog, and untared them there.

What I experience is that the glib/gtk compiling/installing leaves no error
messages (as far as I can tell),
but when I progress to the Ada recompiling, that recompiling asks for files
with the pattern:
gdk*.o, gtk*.o and glib*.o
to be linked in during the process.

In the Gtk installing directory I find several gtk/gdk-*.o files that I have
copied in to the directory that the Ada installations expects and the Ada
installations looks happier, but I can't find any file with the pattern with
the pattern glib*.o so it still doesn't succed.

My question in this forum is; should there be some glib*.o files after the
installation of glib based on the tar.gz files?
Do anyone have a good suggestion as to why I don't get any such files?

Frank

2. X windows locking up

3. glib-1.2.3 and gtk-1.2.3 install problem

4. How to set up RTS/CTS flow control for bidirectional modem

5. glib-1.2.10-sol8-sparc-local: what should i do with it?

6. No BIOS LBA,850MHD,Disk Manager Under DOS,No Linux Access

7. gtk+10/glib+10, and gtk1.2

8. FREE shell acount needed

9. error compiling GTK+1.2.6 on AIX 4.3.2

10. gtk+ and glib 1.2

11. Idiot Seeks Help 3: compiling problems (gtk+/glib)

12. need help installing GTK+1.2.8 on Solaris 8 (Intel)

13. Installing GTK+1.2 -- HELP!!!