Re: x11amp 0.9-beta1.1

1999-04-15 Thread surak
I'm guessing you are running potato, so if not this may not apply:

I've compiled every prerelease version of x11amp, up to and including
beta1.1, without problems. You have the gtk and glib stuff, but do you have
the gdk stuff too? For me, x11amp needs these libraries:

tomorrow:~ ldd /usr/local/bin/x11amp
libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x40015000)
libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x40138000)
libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x4016c000)
libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x4016f000)
libdl.so.2 = /lib/libdl.so.2 (0x40191000)
libXi.so.6 = /usr/X11R6/lib/libXi.so.6 (0x40199000)
libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x401a2000)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x401ae000)
libm.so.6 = /lib/libm.so.6 (0x40251000)
libpthread.so.0 = /lib/libpthread.so.0 (0x4026e000)
libx11amp.so.0 = /usr/local/lib/libx11amp.so.0 (0x4027f000)
libc.so.6 = /lib/libc.so.6 (0x40284000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
tomorrow:~

You may want to do a dpkg -S on the libgdk library... I can't really think
of anything else. 

You wouldn't have more than one gtk/gdk/glib packages installed, would you?
Could that be also the problem? I got rid of the old versions, so I didn't
have to worry about that.

Hope that helps (although it probably doesn't),

Alan
[EMAIL PROTECTED]

 
 I'm too impatient to wait for a deb of x11amp 0.9-beta1.1, so I tried to
 compile it myself having had great success with the alpha versons.  It
 compiled without issue, but I've got some strange problems with the
 binary.  Here's a cut  paste job.
 
 [EMAIL PROTECTED]:[~]$ x11amp -version
 /usr/local/lib/x11amp/Output/libOSS.so: undefined symbol:
 gtk_spin_button_new
 /usr/local/lib/x11amp/Input/libmpg123.so: undefined symbol:
 gtk_list_select_item/usr/local/lib/x11amp/Input/libmikmod.so: undefined
 symbol: gtk_pixmap_new
 /usr/local/lib/x11amp/General/libir.so: undefined symbol:
 gtk_spin_button_set_numeric
 x11amp 0.9-beta1.1
 
 [EMAIL PROTECTED]:[~]$ dpkg -l libgtk1.2-dev libglib1.2-dev
 Desired=Unknown/Install/Remove/Purge
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
 uppercase=bad)
 ||/ NameVersionDescription
 +++-===-==-
 ii  libgtk1.2-dev   1.2.0-1Development files for the GIMP Toolkit
 ii  libglib1.2-dev  1.2.0-1Development files for GLib library
 ii  libgtk1.2   1.2.1-1The GIMP Toolkit set of widgets for X
 ii  libglib1.2  1.2.1-1The GLib library of C routines
 
 so I have what the README claims to need.  Has anyone had any success
 compiling this version of x11amp?
 


Re: x11amp 0.9-beta1.1

1999-04-15 Thread Daniel J. Brosemer
On Wed, 14 Apr 1999 [EMAIL PROTECTED] wrote:

 I'm guessing you are running potato, so if not this may not apply:

Actually, I'm basically running a glibc2 version of potato. :)  (I
compiled many of the potato stuff using the glibc2 in slink on a slink
system).  I'm still a little squeamish about glibc2.1 and I'm running
potato at work where ddd has just stopped working since upgrading from
slink.  I need ddd at home, so I'm not willing to take that step yet.

 I've compiled every prerelease version of x11amp, up to and including
 beta1.1, without problems. You have the gtk and glib stuff, but do you have
 the gdk stuff too? For me, x11amp needs these libraries:
 
 tomorrow:~ ldd /usr/local/bin/x11amp
 libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x40015000)
 libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x40138000)
 libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x4016c000)
 libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x4016f000)
 libdl.so.2 = /lib/libdl.so.2 (0x40191000)
 libXi.so.6 = /usr/X11R6/lib/libXi.so.6 (0x40199000)
 libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x401a2000)
 libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x401ae000)
 libm.so.6 = /lib/libm.so.6 (0x40251000)
 libpthread.so.0 = /lib/libpthread.so.0 (0x4026e000)
 libx11amp.so.0 = /usr/local/lib/libx11amp.so.0 (0x4027f000)
 libc.so.6 = /lib/libc.so.6 (0x40284000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
 tomorrow:~

Thanks for posting that... made me look at mine which is almost the
same... except for a few key differences:  The first 4 libraries are
missing!  Well, that'll cause the errors I was getting, unfortunately, I
haven't the foggiest idea how to correct that.

 You may want to do a dpkg -S on the libgdk library... I can't really think
 of anything else. 

I do have it installed.

[EMAIL PROTECTED]:[/home/odin]# dpkg -l|grep gdk
ii  gdk-imlib-dev   1.9.4-1Header files needed for Gdk-Imlib developmen
ii  gdk-imlib1  1.9.4-1Gdk-Imlib is an imaging library for use with
ii  libgtk-imlib-pe 0.5000-1   Perl module for the gtk+ and gdkimlib librar

 You wouldn't have more than one gtk/gdk/glib packages installed, would you?
 Could that be also the problem? I got rid of the old versions, so I didn't
 have to worry about that.

I do, though it hasn't caused a problem in the past (even with
x11amp-0.9a[123])  I have libgtk1 installed for the version of gimp I run
(I've been meaning to upgrade, maybe this is an excuse) but not
libgtk1-dev, so I don't see how stuff like this could be happening.

 Hope that helps (although it probably doesn't),

Actually, it helped me find the problem!  Now for a solution... :)

Here's a typical link it together gcc line during 'make':

gcc -O2 -I.. -I.. -DDATADIR=\/usr/local/share/x11amp\
-I/usr/X11R6/include -I/usr/lib/glib/include -o .libs/wmx11amp getopt.o
getopt1.o wmx11amp.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
../libx11amp/.libs/libx11amp.so -lglib -Wl,--rpath -Wl,/usr/local/lib

So I definately am linking in gtk, gdk, and glib!

hmm... now that I think of it, should this say something like '-lgtk-1.2'?
After all, the .so file is /usr/lib/libgtk-1.2.so.0.  I'm trying it now.
If it doesn't work, I'll send this message. :)

hmm... maybe not:

[EMAIL PROTECTED]:[~/x11amp-0.9-beta1.1]$ gtk-config --version
1.2.0
[EMAIL PROTECTED]:[~/x11amp-0.9-beta1.1]$ gtk-config --libs   
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-lXi -lXext -lX11 -lm

well... I'm at a loss.  Thanks for the tips, do you or anyone else have
any further ideas?

Thanks!

-Dano


Re: x11amp 0.9-beta1.1

1999-04-15 Thread surak
 
 Actually, I'm basically running a glibc2 version of potato. :)  (I
 compiled many of the potato stuff using the glibc2 in slink on a slink
 system).  I'm still a little squeamish about glibc2.1 and I'm running
 potato at work where ddd has just stopped working since upgrading from
 slink.  I need ddd at home, so I'm not willing to take that step yet.

Ah well, back in the day I was running a mostly slink system with a few
potato libraries force-installed, so I see where you're coming from. :)

 
 Thanks for posting that... made me look at mine which is almost the
 same... except for a few key differences:  The first 4 libraries are
 missing!  Well, that'll cause the errors I was getting, unfortunately, I
 haven't the foggiest idea how to correct that.
 

 I do, though it hasn't caused a problem in the past (even with
 x11amp-0.9a[123])  I have libgtk1 installed for the version of gimp I run
 (I've been meaning to upgrade, maybe this is an excuse) but not
 libgtk1-dev, so I don't see how stuff like this could be happening.

I had a problem with the old slink packages of the libraries, so gtk-config
was giving me the wrong one. So instead of compiling the new libraries in
/usr/local I just replaced them with potato ones (pre-glibc2.1 days).

I'm at a loss as to why x11amp can't find those files. Maybe you need to
explicitly put /usr/lib in your $LD_LIBRARY_PATH? I unset it but it didn't
affect my x11amp.

Alan


 
 Actually, it helped me find the problem!  Now for a solution... :)
 
 Here's a typical link it together gcc line during 'make':
 
 gcc -O2 -I.. -I.. -DDATADIR=\/usr/local/share/x11amp\
 -I/usr/X11R6/include -I/usr/lib/glib/include -o .libs/wmx11amp getopt.o
 getopt1.o wmx11amp.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
 -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
 ../libx11amp/.libs/libx11amp.so -lglib -Wl,--rpath -Wl,/usr/local/lib
 
 So I definately am linking in gtk, gdk, and glib!
 
 hmm... now that I think of it, should this say something like '-lgtk-1.2'?
 After all, the .so file is /usr/lib/libgtk-1.2.so.0.  I'm trying it now.
 If it doesn't work, I'll send this message. :)
 
 hmm... maybe not:
 
 [EMAIL PROTECTED]:[~/x11amp-0.9-beta1.1]$ gtk-config --version
 1.2.0
 [EMAIL PROTECTED]:[~/x11amp-0.9-beta1.1]$ gtk-config --libs   
 -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
 -lXi -lXext -lX11 -lm
 
 well... I'm at a loss.  Thanks for the tips, do you or anyone else have
 any further ideas?
 
 Thanks!
 
 -Dano
 


Re: x11amp 0.9-beta1.1

1999-04-15 Thread Daniel J. Brosemer
On Wed, Apr 14, 1999 at 10:29:32PM -0500, [EMAIL PROTECTED] wrote:
  
  Actually, I'm basically running a glibc2 version of potato. :)  (I
  compiled many of the potato stuff using the glibc2 in slink on a slink
  system).  I'm still a little squeamish about glibc2.1 and I'm running
  potato at work where ddd has just stopped working since upgrading from
  slink.  I need ddd at home, so I'm not willing to take that step yet.
 Ah well, back in the day I was running a mostly slink system with a few
 potato libraries force-installed, so I see where you're coming from. :)

Actually, I didn't force-install anything.  What I've been doing is getting
the .dsc, .diff, and orig.tar.gz files for what I need from potato and
compiling a glibc2 version.  I'm a little scared of mixing the two even though
from what I've read, it should work.

  Thanks for posting that... made me look at mine which is almost the
  same... except for a few key differences:  The first 4 libraries are
  missing!  Well, that'll cause the errors I was getting, unfortunately, I
  haven't the foggiest idea how to correct that.
 
  I do, though it hasn't caused a problem in the past (even with
  x11amp-0.9a[123])  I have libgtk1 installed for the version of gimp I run
  (I've been meaning to upgrade, maybe this is an excuse) but not
  libgtk1-dev, so I don't see how stuff like this could be happening.
 I had a problem with the old slink packages of the libraries, so gtk-config
 was giving me the wrong one. So instead of compiling the new libraries in
 /usr/local I just replaced them with potato ones (pre-glibc2.1 days).

Ok, I'll go compile the potato versions of gtk and glib.  Does your gtk-config
--libs return '-lgtk' or '-lgtk1.2'?  I suppose if you just have one version
of gtk installed, this is a non-issue.

 I'm at a loss as to why x11amp can't find those files. Maybe you need to
 explicitly put /usr/lib in your $LD_LIBRARY_PATH? I unset it but it didn't
 affect my x11amp.

Yeah, I tried that one.  It looked like that might be the problem since none
of the libs it pulls in are in /usr/lib, but the gcc line I quoted has
'-L/usr/lib' in it which should eliminate this need (if I'm right about what
LD_LIBRARY_PATH does).

[snippage]


x11amp 0.9-beta1.1

1999-04-14 Thread Daniel J. Brosemer

I'm too impatient to wait for a deb of x11amp 0.9-beta1.1, so I tried to
compile it myself having had great success with the alpha versons.  It
compiled without issue, but I've got some strange problems with the
binary.  Here's a cut  paste job.

[EMAIL PROTECTED]:[~]$ x11amp -version
/usr/local/lib/x11amp/Output/libOSS.so: undefined symbol: gtk_spin_button_new
/usr/local/lib/x11amp/Input/libmpg123.so: undefined symbol: gtk_list_select_item
/usr/local/lib/x11amp/Input/libmikmod.so: undefined symbol: gtk_pixmap_new
/usr/local/lib/x11amp/General/libir.so: undefined symbol: 
gtk_spin_button_set_numeric
x11amp 0.9-beta1.1

[EMAIL PROTECTED]:[~]$ dpkg -l libgtk1.2-dev libglib1.2-dev
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ NameVersionDescription
+++-===-==-
ii  libgtk1.2-dev   1.2.0-1Development files for the GIMP Toolkit
ii  libglib1.2-dev  1.2.0-1Development files for GLib library
ii  libgtk1.2   1.2.1-1The GIMP Toolkit set of widgets for X
ii  libglib1.2  1.2.1-1The GLib library of C routines

so I have what the README claims to need.  Has anyone had any success
compiling this version of x11amp?

TIA

-Dano