Author Topic: Squeak On Pdaxrom  (Read 3241 times)

deckard73

  • Newbie
  • *
  • Posts: 33
    • View Profile
Squeak On Pdaxrom
« on: March 19, 2005, 09:51:08 am »
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

Bye
Enno

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Squeak On Pdaxrom
« Reply #1 on: March 19, 2005, 01:07:46 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?
SLC-860 cacko / senao wifi

deckard73

  • Newbie
  • *
  • Posts: 33
    • View Profile
Squeak On Pdaxrom
« Reply #2 on: March 20, 2005, 05:20:42 am »
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
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71417\"][{POST_SNAPBACK}][/a][/div]

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

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Squeak On Pdaxrom
« Reply #3 on: March 20, 2005, 05:47:37 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.
SLC-860 cacko / senao wifi

deckard73

  • Newbie
  • *
  • Posts: 33
    • View Profile
Squeak On Pdaxrom
« Reply #4 on: March 21, 2005, 05:27:39 am »
Hello

Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71496\"][{POST_SNAPBACK}][/a][/div]

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

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Squeak On Pdaxrom
« Reply #5 on: March 21, 2005, 08:58:55 am »
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?
« Last Edit: March 21, 2005, 08:59:55 am by pgas »
SLC-860 cacko / senao wifi

deckard73

  • Newbie
  • *
  • Posts: 33
    • View Profile
Squeak On Pdaxrom
« Reply #6 on: March 22, 2005, 02:41:47 am »
Hello

Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71623\"][{POST_SNAPBACK}][/a][/div]

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

bye
Enno