Help - Search - Members - Calendar
Full Version: Squeak On Pdaxrom
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
deckard73
Hello

A few days ago a explored Squeak, an open source smalltalk machine with a lots of extensions.
Very promising. I compiled this on my desktop and it runs fine. So I had the idea to run this on
my CL-860. I looked at google and found a project about Squeak and QT? But there was no
X-Windows version. Hey. pdaXrom has a X-Server. Why not compile the main source from squeak.org
Wow. I saw no errors during compile time. But if I start squeak it complains that there are no shared
libraries. Hmm ... that was true. They werent built. The static ones exist. Seems to be a linking issue.
Maybe libtool doesnt work as expected.

Probably it is easy to fix. But I am not so familiar with zgcc to fix things like that.

If someone could help, It were great. Hints are also welcome smile.gif

Bye
Enno
pgas
Please try to be a bit more specific.
What version of pdaxrom are you using?
Did you cross compile it or compile it on the Z?

I doubt that you can link a program that uses some shared libraries without the shared libraries...so I think it's a bit strange.

Maybe there are some shared libraries that are built with squeak and are not installed properly?

Can you copy the error message you get?
deckard73
Hello

I use pdaxrom kathrin rc9 and i compile it directly on the 860er zaurus. with zgcc as loop
device mounted at /opt/zgcc and PATH extends to /opt/zgcc/bin.
In /etc/ld.so.conf I insert /opt/zgcc/lib and run ldconfig

No cross compile so far.

If you try this yourself you will probably get the same results. The vm is not as big as you
might think and its worth a look. But i will explain it further at the bottom.

QUOTE(pgas @ Mar 19 2005, 06:07 PM)
Please try to be a bit more specific.
What version of pdaxrom are you using?
Did you cross compile it or compile it on the Z?

I doubt that you can link a program that uses some shared libraries without the shared libraries...so I think it's a bit strange.

Maybe there are some shared libraries that are built with squeak and are not installed properly?

Can you copy the error message you get?
*


during compile time i see no error message. just a few warnings.

i did an extra build directory and configure runs fine

mkdir bd
cd bd
../platforms/unix/config/configure --without-npsqueak
make

*** Warning: This library needs some functionality provided by -lXext
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a shared version
*** of the library, which you do not appear to have

This is printed out for some of the libraries.

At last I get

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module XDisplayControlPlugin. Therefore, libtool will create a
*** static module, that should work as long as the dlopening application is linked with
*** the -dlopen flag

Hmm ... This all points to a linking issue.

If I start squeak I get

could not find display driver vm-display-x11; either:
-check that /usr/local/lib/squeak/3.6-3/vm-display-x11.so exists, or
- bla bla bla

In /usr/local/lib/squeak/3.6-3/ exists a static version of the vm-display-x11 library, but no shared one.
The warning messages above I put in this text manually, no copy and paste. Uff. So there might be typos. A quick look into /usr/X11R6/lib shows shared libraries only. I dont understand the warnings. libtool is completely new to me.

That is a lot of text. I pray, that gives you a hint.

Thanks in advance
Enno
pgas
hmm libXext exists, so either the test is not working correctly or you have to pass the location of the X lib to the configure script (see configure --help).

The vm-display-x11.so seems something build by squeak. So there might be a problem at build time.
deckard73
Hello

QUOTE(pgas @ Mar 20 2005, 10:47 AM)
hmm libXext exists, so either the test is not working correctly or you have to pass the location of the X lib to the configure script (see configure --help).

The vm-display-x11.so seems something build by squeak. So there might be a problem at build time.
*


well vm-display-x11 SHOULD be built by squeak. The Xlibs and Xheaders are found at the right place.
Its really a libtool issue. I saw similiar postings/warnings in google.

But ... I can remember that I have /usr/bin/libtool on my desktop.
On RC9 pdaxrom I did find / -name libtool and it only found a libtool file in the
squeak-tree. Probably generated by configure. Is this the way how it works under pdaxrom?

Remember. I never dealt with libtool.

bye
Enno
pgas
hmm I did try and got the same results as you with RC9(except that I don't have problems with the -libXext).

I don't know what the problem can be.

Maybe you should try to ask on a squeak mailing list?
deckard73
Hello

QUOTE(pgas @ Mar 21 2005, 01:58 PM)
hmm I did try and got the same results as you with RC9(except that I don't have problems with the -libXext).

I don't know what the problem can be.

Maybe you should try to ask on a squeak mailing list?
*


Well, libtool is missing in rc9 and zgcc image.
And I saw no warning during configure. Will install this and try again.

bye
Enno
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.