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 thoughts on “Compiling Siag is driving me nuts

  1. Pingback: Converting Kazehakase 0.4.8 from RPM « Motho ke motho ka botho

  2. ravenaceous

    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.

    Reply
  3. K.Mandla Post author

    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. :(

    Reply
  4. Christian

    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

    Reply
  5. zmjjmz

    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.

    Reply
  6. Remke

    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
    Reply

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