Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
GNUStep

Journal The Great Wakka's Journal: Window Maker Libraries 2

People, it's offical. I've run out of space on my WindowMaker Dock. I would use the clip space, except for the fact the icons are resident to one desktop only, and changing it to omnipotent involves drawing a little annoying black triangle in the corner.

So I tried to compile WMBad. It had been recommended to me earlier, and the screen shots looked very nice. Unfortunetly, some of the code does not compile on my Linux system. So I had to change void shift(float) to a function that did nothing. The code still would not compile, due to:
gcc -o wmbad wmbad.o -I/usr/X11R6/include/X11 -L/usr/X11R6/lib -lXpm -lX11 -lXext -Xlinker -s /usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make: *** [wmbad] Error 1
What? Xpm? Hmm... I got the XPM library. The first file I downloaded was a .tgz and would not uncompress, due to it not seeing it as a gzip. The second file had the same trouble. I went over to a mirror to see if the file there worked better, which it did. Compilation went off with out a hitch. I then moved the files to /usr/include, which it did not like for some reason. I tried moving the files to /usr/X11R6/include/X11, many of which already appeared to be there. I overrode them, then retried compilation of WMBad. Same error. I tried coping them to /usr/X11R6/lib. This time I wiped the source directory and reuncompressed, with the same error.

Does anyone know where I can get the binaries for this? Or another WindowMaker launcher dockapp?

UPDATE Jan 13 2001 12:39: Woops, do I feel foolish! My XPM library was called libXpm.so.4.11 instead of libXpm.so. Oopsie.
UPDATE Jan 13 2001 12:41: The edits I made to the code apparently are illegal. I get a "segmentation fault" error whenever I attempt to run it. What is a segmentation fault? The changes I made were mostly centered around the fact that it was trying to define a variable of type clock_t, which I apparently do not have.

This discussion has been archived. No new comments can be posted.

Window Maker Libraries

Comments Filter:
  • The package you want is xlibs-dev, and the library is usually installed in /usr/X11R6/lib/libXpm.so. Also with the tarball some browsers that I know of netscape/opera will automatically decompress the tarballs for you and not change the file extension. So you can still untar it with the usual tar -xvf file.tar.gz. Another cool thing to do is to check it with `file`
    $ file file.tar.gz

    file.gz: gzip compressed data, deflated, last modified: Sun Jan 13 12:03:44 2002, os: Unix
    $ file file.tar.gz
    file.gz: GNU tar archive

    You'll be able to see straight away if it's still gzipped.

"Intelligence without character is a dangerous thing." -- G. Steinem

Working...