Compiling Siag is driving me nuts

I really want to try out Siag on my ancient little laptop, but it’s turning into a real bear.

The strange part is, I can get all the dependencies into place, compile all the support libraries and even Siag Office itself, but the resulting binaries claim they can’t find the libraries they want. If I go looking for them I can find them, so I know they’re installed, but Siag can’t see them.

On a hunch I tried modifying my PATH to include the location of the libraries, but that didn’t seem to help. It was just an idea.

Anyways, here’s what I was doing. See if you can get it working, and if you can, help me out. First I installed these dependencies.

sudo aptitude install build-essential checkinstall libxaw7-dev libxmu-dev libxmp-dev libncurses5-dev

(In retrospect, I don’t know if libxaw7-dev is the right version to install, but there were no errors, and the libxaw6 page suggests it’s out of date, and should not be used.)

Then I downloaded the mowitz, nextaw, xawm and siag source files from the Siag Web site. I compiled nextaw first, using checkinstall to make a deb package. Then I compiled xawm and finally mowitz, finishing with siag itself.

No errors, but the application says it’s missing a library — libMowitz. Try it for yourself and see if it complains to you too. Cheers and thanks in advance.

Edit: For reference. …

kmandla@sotec:~$ ldd /usr/local/bin/siag
        linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f54000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7f44000)
        libMowitz.so.0 => not found
        libneXtaw.so.0 => not found
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7f2d000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7f1f000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7ece000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7ddc000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7dd3000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7dbb000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7da5000)
        libm.so.6 => /lib/libm.so.6 (0xb7d7f000)
        libc.so.6 => /lib/libc.so.6 (0xb7c53000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c4f000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c4a000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7c46000)
        /lib/ld-linux.so.2 (0xb7f88000)

And yet. …

kmandla@sotec:~$ whereis libneXtaw
libneXtaw: /usr/local/lib/libneXtaw.a /usr/local/lib/libneXtaw.la /usr/local/lib/libneXtaw.so
kmandla@sotec:~$ ls /usr/local/lib/
libMowitz.a         libneXtaw.la         libXawM.so        stXXXX80RBht
libMowitz.la        libneXtaw.so         libXawM.so.1      stXXXX9l1h4N
libMowitz.so        libneXtaw.so.0       libXawM.so.1.0.0  stXXXXZA2mVl
libMowitz.so.0      libneXtaw.so.0.15.1  python2.5
libMowitz.so.0.3.1  libXawM.a            siag
libneXtaw.a         libXawM.la           site_ruby

So is there a way to point the binary at the library? I wonder. …

About these ads

9 Responses to “Compiling Siag is driving me nuts”


  1. 1 xanthus 2007/09/19 at 10:54 PM

    Did you try runnning ldd to see where binaries are looking for the libraries?

  2. 3 ravenaceous 2007/09/26 at 4:37 AM

    I had this same problem. I have tried on both my machine at work (CentOS) and my laptop (ubuntu 7.04). I tried setting various options in configure of both mowitz and siag, but to no avail. I also added things to my PATH and LD_LIBRARY_PATH, nothing. I placed links in places where I though it might be looking that pointed at /usr/local/lib, but still nothing.

    Did you find a solution in the end?

    Regards.

  3. 4 K.Mandla 2007/09/26 at 8:22 AM

    No, I never did. I don’t know if there’s some sort of inconsistency with the source files, or if I have a version mismatch or something, but I couldn’t find any combination that yielded a working application.

    It was disappointing because I found other sites that claimed to have compiled it under Feisty, and got it to work. But I couldn’t make it play. :(

  4. 5 Christian 2008/01/25 at 5:07 AM

    Moin,

    the solution is to set a symbolic link to the library:

    ln -s /usr/local/lib/libMowitz.so.0.3.1 /usr/lib/libMowitz.so.0

    That works.

    Regards,
    Christian

  5. 6 K.Mandla 2008/01/25 at 9:56 AM

    Thanks Christian. I’ll give this a try again; I’m interested to see how it behaves. :D

  6. 7 zmjjmz 2008/06/14 at 1:51 PM

    Hey, I got it to work on Hardy by grabbing the rpm from their site and compiling libXawM (they have the sources on their site).
    I then moved libXawM.so.1 from /usr/local/lib to /usr/lib/
    It’s an older version (3.4.9 I believe), but hey, it works.

  7. 8 Remke 2009/09/18 at 6:08 PM

    succes with fedora 11:
    yum install lesstif-devel
    yum install lesstif-mwm lesstif-clients
    yum install libxaw-devel libxaw libxaw-compat
    (maybe not all needed .. but figure out youreself)

    mkdir temp && cd temp

    wget http://siag.nu/pub/mowitz/Mowitz-0.3.1.tar.gz
     1043  tar -zxvf Mowitz-0.3.1.tar.gz 
     1044  cd Mowitz-0.3.1/
     1045  ls
     1046  ./configure
     1047  make
     1048  cd ..
     1049  wget http://siag.nu/pub/neXtaw/neXtaw-0.15.1.tar.gz
     1050  tar -zxvf neXtaw-0.15.1.tar.gz 
     1051  cd neXtaw-0.15.1/
     1052  ./configure && make
     1053  make install
     1054  cd ..
     1055  ls
     1056  cd Mowitz-0.3.1/
     1057  ./configure && make
     1058  make install
     1059  cd ..
     1060  ls
     1061  cd usr/local/bin/
     1062  ./siag
     1063  whereis libMowitz
     1064  ldconfig -a
     1065  ldconfig
     1066  ./siag
     1067  ln -s /usr/local/lib/libMowitz.so.0 /usr/lib/libMowitz.so.0
     1068  ./siag
     1069  ln -s /usr/local/lib/libneXtaw.so.0 /usr/lib/libneXtaw.so.0
     1070  ./siag
     1071  ls
     1072  cd ..
     1073  ls
     1074  cd ..
     1075  ls
     1076  cp -r local/* /usr/local/
     1077  cd /usr/local/bin/
     1078  ls
     1079  ./siag

  1. 1 Converting Kazehakase 0.4.8 from RPM « Motho ke motho ka botho Trackback on 2007/09/20 at 10:52 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,957,873 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: