RE: [Libswt-discuss] Problem with compiling libswt-gtk2-support-2.1.1-2
Status: Beta
Brought to you by:
mckenzie_keith
From: McKenzie K. <ma...@ho...> - 2004-04-22 06:16:23
|
I looked over your configure output, and nothing jumped out at me. Likewise, the build output doesn't necessarily seem wrong. The only thing I don't like is that I see that you seem to have double include directories listed for gtk-2.0. That is, there is -I/usr/include/gtk-2.0 and -I/usr/lib/gtk-2.0/include I wouldn't think this would cause a problem, but it is odd. I went back and looked at the output from my build, and it does the same thing. I mean, the directories are different, but the form is the same. Also, my build proceeds in a different order from yours, but I wouldn't think that matters. I am a bit perplexed. You might look in /usr/lib/gtk-2.0/include and /usr/include/gtk-2.0 and see if they have different versions of files. Most likely one of the paths doesn't even exist. But if they have conflicting definitions, maybe you got the wrong one, somehow. You could try building the library manually, just as an experiment. The autotools package uses libtool, which is a heavy duty machine, but building shared libraries with gcc in linux is actually pretty easy. You just have to use -shared during the final linking stage. Of course you have to list the correct include paths during the compilation, and the correct library paths during the linking. You can copy the includes from the failed build attempt. Then you can try playing with them to see what happens. Another thing you can do is download the already built binaries from eclipse, and install them manually. The three files are: libswt-gtk-2135.so libswt-pi-gtk-2135.so libswt-gnome-gtk-2135.so These should be in the eclipse 2.1.1 package. Also, I seem to remember that you actually succeeded in building a previous version of the libraries. If the filenames match, you can use those. To manually install them, all you really have to do is copy them to /usr/lib or /usr/local/lib, set the owner and permissions, then run ldconfig as root. If you succeed in getting the support library built or in installing a binary version of it, you can try libswt proper. Alternatively, there is an rpm for this package floating around out there somewhere. I didn't make the rpm myself. I think the guys from the irate project made it, but I'm not sure. This is probably going to be my last email before I take off on Friday. I will be really busy tomorrow, and my plane takes off on Friday before dawn. I'm really sorry I couldn't see this through to a conclusion before I left, but hopefully you will figure it out. If not, I'll be more than happy to carry on when I return. I'm getting back May 3'd, I think, but of course I will be busy catching up for a day or two. ;-) --McKenzie _________________________________________________________________ Get rid of annoying pop-up ads with the new MSN Toolbar FREE! http://toolbar.msn.com/go/onm00200414ave/direct/01/ |