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 =>  (0xffffe000) => /lib/ (0xb7f54000) => /usr/lib/ (0xb7f44000) => not found => not found => /usr/lib/ (0xb7f2d000) => /usr/lib/ (0xb7f1f000) => /usr/lib/ (0xb7ece000) => /usr/lib/ (0xb7ddc000) => /usr/lib/ (0xb7dd3000) => /usr/lib/ (0xb7dbb000) => /lib/ (0xb7da5000) => /lib/ (0xb7d7f000) => /lib/ (0xb7c53000) => /usr/lib/ (0xb7c4f000) => /usr/lib/ (0xb7c4a000) => /lib/ (0xb7c46000)
        /lib/ (0xb7f88000)

And yet. …

kmandla@sotec:~$ whereis libneXtaw
libneXtaw: /usr/local/lib/libneXtaw.a /usr/local/lib/ /usr/local/lib/
kmandla@sotec:~$ ls /usr/local/lib/
libMowitz.a        stXXXX80RBht      stXXXX9l1h4N  stXXXXZA2mVl  python2.5  libXawM.a            siag
libneXtaw.a           site_ruby

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

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?


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

  4. Christian


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

    ln -s /usr/local/lib/ /usr/lib/

    That works.


  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 from /usr/local/lib to /usr/lib/
    It’s an older version (3.4.9 I believe), but hey, it works.

  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

     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
     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/ /usr/lib/
     1068  ./siag
     1069  ln -s /usr/local/lib/ /usr/lib/
     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

Leave a Reply

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

You are commenting using your 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