?

Log in

No account? Create an account
Make problem in Logjam, SUSE 9.1 - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Make problem in Logjam, SUSE 9.1 [Aug. 22nd, 2004|09:31 pm]
LogJam

logjam

[lt_kitty]
Am getting the following error when I make:

icons.c: In function `icons_rarrow_pixbuf':
icons.c:42: error: `logjam_rarrow' undeclared (first use in this function)
icons.c:42: error: (Each undeclared identifier is reported only once
icons.c:42: error: for each function it appears in.)
icons.c: In function `icons_larrow_pixbuf':
icons.c:46: error: `logjam_larrow' undeclared (first use in this function)
icons.c: In function `icons_lrarrow_pixbuf':
icons.c:50: error: `logjam_lrarrow' undeclared (first use in this function)
icons.c: In function `icons_initialize':
icons.c:77: error: `logjam_goat' undeclared (first use in this function)
icons.c:78: error: `logjam_pencil' undeclared (first use in this function)
icons.c:79: error: `logjam_ljuser' undeclared (first use in this function)
icons.c:80: error: `logjam_ljcomm' undeclared (first use in this function)
icons.c:81: error: `logjam_protected' undeclared (first use in this function)
icons.c:82: error: `logjam_private' undeclared (first use in this function)
icons.c:83: error: `logjam_blogger' undeclared (first use in this function)
make[2]: *** [icons.o] Error 1
make[2]: Leaving directory `/home/kitty/logjam-4.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kitty/logjam-4.4.0'
make: *** [all] Error 2

What is up? What components am I missing to be able to install this?
LinkReply

Comments:
[User Picture]From: discordian
2004-08-23 04:41 am (UTC)
Did you run ./configure first?

My guess is you're trying to compile it with some wrong parameters - or a wrong version of C compiler. Or maybe your download got corrupted.

I know this probably isn't much help, but it's all I can think of. It's not erroring out on any dependencies, so, as I said, I'm guessing the fault is with the compiler itself.
(Reply) (Thread)
From: evan
2004-08-23 05:46 am (UTC)
there's an error higher up; try to find the first error mentioned. make sure you have the gtk dev packages installed.
(Reply) (Thread)
[User Picture]From: lt_kitty
2004-08-23 05:57 am (UTC)
I did run ./configure, and that appeared to be successful. Checked the gtk devel package, its loaded.

The make log prior to the errors:

make[1]: Entering directory `/home/kitty/logjam-4.4.0'
Making all in data
make[2]: Entering directory `/home/kitty/logjam-4.4.0/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kitty/logjam-4.4.0/data'
Making all in doc
make[2]: Entering directory `/home/kitty/logjam-4.4.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kitty/logjam-4.4.0/doc'
Making all in po
make[2]: Entering directory `/home/kitty/logjam-4.4.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kitty/logjam-4.4.0/po'
Making all in util
make[2]: Entering directory `/home/kitty/logjam-4.4.0/util'
make[3]: Entering directory `/home/kitty/logjam-4.4.0/util'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/kitty/logjam-4.4.0/util'
make[2]: Leaving directory `/home/kitty/logjam-4.4.0/util'
Making all in protocol
make[2]: Entering directory `/home/kitty/logjam-4.4.0/protocol'
Making all in liblivejournal
make[3]: Entering directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal'
make all-recursive
make[4]: Entering directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal'
Making all in livejournal
make[5]: Entering directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal/livejournal'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal/livejournal'
Making all in tests
make[5]: Entering directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal/tests'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal/tests'
make[5]: Entering directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal'
make[5]: Leaving directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal'
make[4]: Leaving directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal'
make[3]: Leaving directory `/home/kitty/logjam-4.4.0/protocol/liblivejournal'
make[3]: Entering directory `/home/kitty/logjam-4.4.0/protocol'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/kitty/logjam-4.4.0/protocol'
make[2]: Leaving directory `/home/kitty/logjam-4.4.0/protocol'
Making all in images
make[2]: Entering directory `/home/kitty/logjam-4.4.0/images'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kitty/logjam-4.4.0/images'
Making all in src
make[2]: Entering directory `/home/kitty/logjam-4.4.0/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../protocol/liblivejournal -I../util/gxr -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/libart-2.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/gtkspell-2.0 -I/opt/gnome/include/libgtkhtml-3.0 -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnomeprint-2.2 -I/opt/gnome/include/libgnomeprintui-2.2 -I/opt/gnome/include/libglade-2.0 -I/opt/gnome/include/gal-2.0 -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/include/librsvg-2 -I/opt/gnome/include/libgsf-1 -I/usr/include -g -O2 -MT icons.o -MD -MP -MF ".deps/icons.Tpo" \
-c -o icons.o `test -f 'icons.c' || echo './'`icons.c; \
then mv ".deps/icons.Tpo" ".deps/icons.Po"; \
else rm -f ".deps/icons.Tpo"; exit 1; \
fi
(Reply) (Parent) (Thread)
[User Picture]From: bacek
2004-08-23 07:18 am (UTC)
Looks like you don't have libpng12-dev and gdk-pixbuf can't decode png images in ./images.


(Reply) (Parent) (Thread)
[User Picture]From: lt_kitty
2004-08-23 07:56 am (UTC)
Thanks for the tip. I checked, and I did have the libpng developer pkg, but not the gdk-pixbuf developer package.

I'm working on rectifying it, and will let you know how things turn out.
(Reply) (Parent) (Thread)
[User Picture]From: lt_kitty
2004-08-23 08:00 am (UTC)
Okay, that didn't work...

Urgh.
(Reply) (Parent) (Thread)
[User Picture]From: bacek
2004-08-23 08:13 am (UTC)

Re: Reply to your comment...

> Okay, that didn't work...

Hmm... Try this command in images:

gdk-pixbuf-csource --raw --build-list logjam_ljuser
./logjam_ljuser.png

If it will done and you see output like this:

/* GdkPixbuf RGBA C-Source image dump */

#ifdef __SUNPRO_C
#pragma align 4 (logjam_ljuser)
#endif
#ifdef __GNUC__
static const guint8 logjam_ljuser[] __attribute__ ((__aligned__ (4))) =
#else
static const guint8 logjam_ljuser[] =
#endif
{ ""
   /* Pixbuf magic (0x47646b50) */
   "GdkP"
....


then you have correctly installed gdk-pixbuf with png decoder. If so
than make clean; make in ./images and you'll have "pixbufs.h".

If "gdk-pixbuf-csource" fail it mean that you must install correct
libpng package. In my Debian it is libpng12 and libpng12-dev.


(Reply) (Parent) (Thread)
From: evan
2004-08-23 03:23 pm (UTC)

Re: Reply to your comment...

oh yeah, and on some platforms it's in some sort of gtk-bin (not dev or lib) package.
(Reply) (Parent) (Thread)
[User Picture]From: bacek
2004-08-23 08:08 pm (UTC)

Re: Reply to your comment...

BTW, it there any build of logjam 4.4 for Windows? My own build just
crashes on any network operations :(

(Reply) (Parent) (Thread)
From: evan
2004-08-23 03:24 pm (UTC)
try a "make clean" then "make" again.
(Reply) (Parent) (Thread)
From: xsteadfastx
2004-08-23 03:37 pm (UTC)
how you installed the dev rpms? do it through yast and then the whole gtk2 devel group....here on suse 9.1 prof everything works great with all features. if you want..i made a rpm too for it...
(Reply) (Thread)
[User Picture]From: g5f
2005-04-03 03:29 pm (UTC)
I know this is an old post but can I get that rpm from you? I'm on suse 9.2 and I am also having problems with configuring (an rpm would be better, I can apt in all the deps)
(Reply) (Parent) (Thread)