?

Log in

No account? Create an account
Logjam compilation issues - LogJam [entries|archive|friends|userinfo]
LogJam

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

Logjam compilation issues [May. 4th, 2004|08:49 am]
LogJam
logjam
[tabsl33tdicebag]
[Current Mood |confusedconfused]

I'm definitely getting the feeling this is a local configuration error, since its happened both with the old 4.3.2 version and the new 4.4.0 version in the past few days..

First, when I try to compile logjam, I get an error during 'make' which claims to be unable to find gdk-pixbuf-csource. Funnily enough, this error disappears when I type 'make' again.

However, after that there is a persistant error which goes like this:

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/archives/pkgs/Journal/logjam-4.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/archives/pkgs/Journal/logjam-4.4.0'
make: *** [all] Error 2



Any ideas here?
LinkReply

Comments:
[User Picture]From: rrm3
2004-05-04 10:16 am (UTC)
Did you somehow get your $prefix/etc/gtk-2.0/gdk-pixbuf.loaders messed up? The file is supposed to look like the output of the gdk-pixbuf-query-loaders command.
(Reply) (Thread)
From: tabsl33tdicebag
2004-05-06 07:54 am (UTC)
Nope, diff tells me that /etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders is the same as the output of the gdk-pixbuf-query-loaders command
(Reply) (Parent) (Thread)
From: evan
2004-05-04 03:10 pm (UTC)
go into the images directory, then "make clean". after that, if "make" still can't find gdk-pixbuf-csource, then you'll need to figure out where it went. :)
(Reply) (Thread)
From: tabsl33tdicebag
2004-05-06 07:56 am (UTC)
/opt/gnome/bin/gdk-pixbuf-csource is where it went to.
Nothing wrong there... It just keeps giving the same error though. LIke I said, the csource error is not the fatal one. It disappears if I type make twice.

The really bad one is about undeclared thingamies:


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/archives/pkgs/Journal/logjam-4.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
(Reply) (Parent) (Thread)
From: evan
2004-05-06 12:49 pm (UTC)
nah, the pixbuf error is the important one. the make file tries to do something like this:

gdk-pixbuf-csource arg1 arg2 > somefile

so when it can't find the program, that "somefile" is created as an empty file, and so subsequent runs of make say "oh, 'somefile' has already been made so we don't have to worry about doing that."

and then the compile later fails because it expects that file to be filled with the output of the pixbuf program.
(Reply) (Parent) (Thread)