?

Log in

No account? Create an account
Another CVS commit. This will be 2.0, unless anyone has a good… - LogJam [entries|archive|friends|userinfo]
LogJam

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

[Oct. 2nd, 2000|02:14 pm]
LogJam
logjam
[evan]
Another CVS commit. This will be 2.0, unless anyone has a good reason for it not to be. Please let me know of any problems (Pat? Still having XMMS problems?) or any bugs!
LinkReply

Comments:
[User Picture]From: czircon
2000-10-02 02:20 pm (UTC)
I'm getting complaints about the lack of a pixmaps/Makefile.in. And @XMMS_CFLAGS@ is still turning up in src/Makefile even though it doesn't detect XMMS.
(Reply) (Thread)
From: evan
2000-10-02 03:53 pm (UTC)

Re:

The XMMS stuff should be ok (unless it's breaking compilation).

Makefile.in should be autogenerated by running ./autogen.sh in the toplevel loserjabber dir.

Damn, I hate autoconf/automake. 90% of the problems people have with LoserJabber are caused by (my misunderstanding of) those utilities.
(Reply) (Parent) (Thread)
[User Picture]From: czircon
2000-10-02 05:33 pm (UTC)

Re:

The XMMS stuff does actually break compilation, but it's not a big deal; I just have to go in an take it out of the Makefile, otherwise this happens:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/lib/glib/include -I/usr/local/include @XMMS_CFLAGS@ -Wall -g -c history.c
gcc: @XMMS_CFLAGS@: No such file or directory


May not be worth worrying about since I seem to be the only person in the universe to have this happen.
(Reply) (Parent) (Thread)
From: evan
2000-10-02 09:29 pm (UTC)

Re:

It seems to me that it shouldn't detect xmms if you don't have it installed.

Do you have a program called "xmms-config" on your system? If you don't have xmms, you shouldn't.
(Reply) (Parent) (Thread)
[User Picture]From: czircon
2000-10-02 09:43 pm (UTC)

Re:

Ah, never mind, it works; I had screwed up my configure.in a long time ago and forgotten about it. Everything looks okay to me.
(Reply) (Parent) (Thread)
[User Picture]From: patrick
2000-10-02 03:23 pm (UTC)
I haven't had any XMMS problems since you fixed the lib problem. getting the current commit to give it a run through now.
(Reply) (Thread)
[User Picture]From: patrick
2000-10-02 03:45 pm (UTC)

Re:

no problems. hooray!
(Reply) (Parent) (Thread)
[User Picture]From: mattrope
2000-10-02 08:54 pm (UTC)

XMMS button

I'm not getting an [XMMS] button when I select the music metadata option, even though XMMS was detected properly when I ran configure. I haven't pulled down a new CVS version in quite a while...has something changed that I'm not aware of?

./autogen.sh
./configure --prefix=/usr2
make -j 2
su
make install

I've tried adding the --with-xmms-prefix and --with-xmms-exec-prefix options, but still no button. Probably something really simple I'm overlooking...
(Reply) (Thread)
From: evan
2000-10-02 09:26 pm (UTC)

Re: XMMS button

One of the major changes is that it dynamically loads the XMMS library at runtime. (This is to make it so binary packages will run on systems that don't have XMMS...)

LoserJabber tries to load a file "libxmms.so", which should be in your library path.
Could you see if you have that file, in either /usr/lib or /usr/local/lib (or wherever libraries go on your system)?
(Reply) (Parent) (Thread)
[User Picture]From: mattrope
2000-10-03 07:50 am (UTC)

Re: XMMS button

Yeah, that was the problem. Placing a symbolic link to the library in /usr/lib fixed it.
(Reply) (Parent) (Thread)
From: evan
2000-10-03 09:34 am (UTC)

Re: XMMS button

Where was the actual library?
The dlopen() man page says it looks in:
- A colon-separated list of directories in the user's LD_LIBRARY_PATH environment variable.
- The list of libraries cached in /etc/ld.so.cache.
- /usr/lib, followed by /lib.

Did the XMMS support ever work for you previously? I can't imagine ld.so was able to find your XMMS libs before I made the switch.
(I believe ld.so.cache is generated from /etc/ld.so.conf.)

It's really important to me that this works on all systems on the first try. :)
(Reply) (Parent) (Thread)
[User Picture]From: mattrope
2000-10-03 10:03 am (UTC)

Re: XMMS button

The library was in /usr2/lib. I should have added this to my LD_LIBRARY_PATH, but I didn't. The XMMS support worked just fine before because xmms-config gave configure the location of the library when it was compiled in. But at runtime xmms-config isn't used, so the .so wasn't found then.
(Reply) (Parent) (Thread)