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

Re: compiling lame - glib error



such an error is caysed when gcc can't find a foo.h

Standard basic gcc call:

add a -I/usr/include/foo (or whatever you installed foo.h to) to the gcc
call that compiles a .c into a .o

Autoconf call:

if you use ./configure try
./configure --with-foo-inc=/usr/include/foo
or ./configure --includedir=...
(in this case it would be --with-foo-inc=/usr/lib/glib/include)
where -inc stands for "include")

You might also need --with-foo-libs=/usr/local/foo, if you have
"unresolved symbols farther down the compilation process"

YMMV, but the base is here

Hope this helps,
Romain

On Mon, 29 Jan 2001, joeytsai wrote:

> Hi, I just downloaded the newest version of lame (3.87) and I'm having problems
> compiling.  The error message I'm getting is:
>
> gcc  -DNDEBUG -O3 -fomit-frame-pointer -funroll-loops -ffast-math
> -finline-functions -Wall -pedantic -DBRHIST -DHAVEGTK  -DUSE_LAYER_2
> -DUSE_LAYER_1 -DHAVEMPGLIB -DLAMESNDFILE  -fPIC  -c main.c -o main.o
> In file included from /usr/include/gdk/gdktypes.h:33,
>                  from /usr/include/gdk/gdk.h:31,
>                  from /usr/include/gtk/gtk.h:31,
>                  from main.c:18:
> /usr/include/glib.h:66: glibconfig.h: No such file or directory
> make: *** [main.o] Error 1
>
> I have libglib1.2-dev installed, as well as libgtk1.2-dev.
>
> It appears that glibconfig.h exists in /usr/lib/glib/include/glibconfig.h.
>
> Can anyone help?
>
>
> Thanks,
>
>     // joey tsai
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: