ArchLinux package for Dislin

152 views
Skip to first unread message

Iván Pulido

unread,
Aug 22, 2013, 1:30:48 AM8/22/13
to dislin...@googlegroups.com
Hey, I'm trying to package dislin for Archlinux (there's already an attempt to do this at https://aur.archlinux.org/packages/dislin/ but it's not a good one, so I'm trying to fix it).

But run into a few problems, the first one is that the installer makes a lot of symlinks which in my opinion should use relative paths that would make it easier to package, even though I solved it anyway.

On the other hand, and this one is critical (don't know how to solve it) is that libdislin.so was compiled using an "old" version of libxmu apparently, since it asks for libXm.so.4 and in arch the current one is libXm.so.6, the exact error message is as follows
/usr/bin/ld: warning: libXm.so.4, needed by /usr/lib/dislin/libdislin.so, not found (try using -rpath or -rpath-link)

This happens when trying to compile one of the examples that come with dislin, specifically the exa_c.c example when I try to link it using "clink exa_c".

I'm not sure if this is an upstream problem or if it's a problem of mine, I'd appreciate any thoughts/ideas on this. Thanks.

Helmut Michels

unread,
Aug 22, 2013, 3:31:35 AM8/22/13
to dislin...@googlegroups.com
Hi Ivan,

are you sure that you have libXm.so.6? As far as I know is libXm.so.4 the latest OpenMotif library, and I have never
heart about libXm.so.6. However, you can try to create a link for libXm.so.4 to your OpenMotif library to solve the
linking problem.  The newest OpenMotif version 2.3.4 is binary compatible to the older versions 2.3.x and 2.2.x.
Perhaps, I will make a test installation of Archlinux to check what's going on.

Best regards,

Helmut

Iván Pulido

unread,
Aug 22, 2013, 8:29:39 PM8/22/13
to dislin...@googlegroups.com
Hello, thanks for the response.


I think you are right, I do have libXm.so.6 which is provided by libxmu (not openmotif) and libXm.so.2 which is provided by lesstif, I bet that if I install openmotif (I found out I didn't have it in my system) I'd get a libXm.so.4. Now the only problem is that some applications (such as ddd and grace) need lesstif which conflicts with openmotif haha, so I can't yet install this last one. I'll let you know if I find a way for solving this (maybe recompiling those packages to use openmotif instead of lesstif or something like that).

 
Best regards,

Helmut

--
You received this message because you are subscribed to the Google Groups "dislin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dislin-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Thanks again.

Ivan.


--
Iván José Pulido Sánchez
Estudiante de Física
Universidad Nacional de Colombia

Iván Pulido

unread,
Aug 22, 2013, 11:34:52 PM8/22/13
to dislin...@googlegroups.com
Ok, so it was easier than I thought and I already made the package, all is working now (the examples are working correctly). All I had to do was recompile this packages (ddd and grace) so that they use openmotif instead of lesstif (actually the packages ddd-openmotif and grace-openmotif already existed in arch so it was automatic) and then just install openmotif and use dislin.

Thanks a lot for your help, now all it takes is for the mantainer of the archlinux package to update with the changes I suggested.

Iván Pulido

unread,
Aug 28, 2013, 6:46:51 PM8/28/13
to dislin...@googlegroups.com
Oh, just wanted to give the update that the archlinux package is now working, it was dropped and I adopted it. Thanks for your help.
Reply all
Reply to author
Forward
0 new messages