Mailinglist Archive: opensuse (1597 mails)

< Previous Next >
Re: [opensuse] where to place the library glib
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Fri, 30 Oct 2009 18:55:58 +0100 (CET)
  • Message-id: <alpine.LSU.2.00.0910301848230.5346@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Thursday, 2009-10-29 at 13:36 -0400, Adam Tauno Williams wrote:

...

How can I make up for the mess we did ?
/usr/local/include/g_arraylist.h:1:18: error: glib.h: No such file or directory

/usr/local/.... There is no reason to look for glib stuff in /usr/local


The code has a:

#include "/usr/local/include/g_arraylist.h"

which I suppose is indeed local. After correcting the source to:


#include <glib.h>
#include "/usr/local/include/g_arraylist.h"
//#include "/usr/include/glib-2.0/glib.h"
//#include <mirta.h>

I can attempt a compile:

cer@nimrodel:~/bin/ppp> gcc miRTA_MEM-main.c
miRTA_MEM-main.c:8:18: error: glib.h: No such file or directory
miRTA_MEM-main.c:9:44: error: /usr/local/include/g_arraylist.h: No such file or
directory
miRTA_MEM-main.c:14:23: error: glib/gstdio: No such file or directory
miRTA_MEM-main.c:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
miRTA_MEM-main.c:113:1: error: unterminated comment


which fails more "normally". I have installed:


glib-1.2.10-710.1
glibc-2.8-14.2
glib2-branding-openSUSE-2.16-15.1
glibc-locale-2.8-14.2
glib2-devel-2.16.3-20.6
glib2-2.16.3-23.1
glibc-devel-2.8-14.2
glib-devel-1.2.10-710.1
glibc-info-2.8-14.2

at least.

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkrrKLUACgkQtTMYHG2NR9WV4wCfQETpFv8aCE137Ib0JuFZPU+V
vwEAn1gDAfdsQK/p+FAg8hjMgHN23xih
=RpKU
-----END PGP SIGNATURE-----
< Previous Next >