LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-20-2019, 03:39 PM   #1
however
Member
 
Registered: Jan 2019
Posts: 79

Rep: Reputation: Disabled
A cpl of issues with sbopkg/ponce on slackware current


HI again,

i would like to raise a cpl of points about the sbopkg/ponce repo for slackware current

1) CinelerraCV-2.3 installs ok, with all its dependencies but it freezes on launch (it remains unresponsive on "Initializing GUI" window). I tried removing the package and the installation directory and started the process again: same result. I also tried starting CinelerraCV through the console but sadly I didnt save the error msg to post here (sorry)
Browsing google i found another similar issue on this thread https://www.linuxquestions.org/quest...ch-4175616951/ and successfully installed Cinelerra-GG version (https://cinelerra-cv.org/download.php) instead.
I am NOT whining, moaning or criticizing the good work that all the developers put up with in order for other ppl to enjoy slackware; I thought I should report it.

2) due to work requirement, i often use aeskulap DICOM viewer to analyses medical images, however it seems that aeskulap is not in the current sbopkg repo and/or in any other slack/linux packages site.
I have tried my luck by building the package for slackware 14.1 from slackbuilds but it failed and, also by installing the binary file from pckgs.org (i know it's not advisable etc.) which it installed but wouldn't launch and returned this error:
Code:
aeskulap: error while loading shared libraries: libicule.so.51: cannot open shared object file: No such file or directory
Would anyone know whether, or not, there is an aeskulap package for Slackware current? and where i can find it?
 
Old 01-20-2019, 07:22 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,655

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797
all you need to do is get the source code and the autotools slackbuild template and make your own.


https://slackbuilds.org/templates/

git clone tar it up if you want a package, of just compile it,
https://github.com/pipelka/aeskulap

dep:
SBo: libglademm 2.6.7
Path: /usr/sbo/repo/libraries/libglademm


SBo: gconfmm 2.28.3
Path: /usr/sbo/repo/libraries/gconfmm

well this is what got trying to make it,
from a slackbuild script during make
Code:
   ^~~~~
make[4]: *** [../../config/Makefile.def:88: ofstd.o] Error 1
make[4]: Leaving directory '/tmp/SBo/aeskulap-1.0/dcmtk/ofstd/libsrc'
make[3]: *** [Makefile:38: libsrc-all] Error 2
make[3]: Leaving directory '/tmp/SBo/aeskulap-1.0/dcmtk/ofstd'
make[2]: *** [Makefile:79: ofstd-libsrc-all] Error 2
make[2]: Leaving directory '/tmp/SBo/aeskulap-1.0/dcmtk'
make[1]: *** [Makefile:488: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/aeskulap-1.0'
make: *** [Makefile:420: all] Error 2
from the cli during make
Code:
strma.o dcistrmb.o dcistrmf.o dcistrmz.o dcostrma.o dcostrmb.o dcostrmf.o dcostrmz.o
: libdcmdata-3.5.so.4
ln -sf libdcmdata-3.5.so.4 libdcmdata.so
make[4]: Leaving directory '/media/data1/aeskulap-1.0/dcmtk/dcmdata/libsrc'
make[3]: Leaving directory '/media/data1/aeskulap-1.0/dcmtk/dcmdata'
make[2]: Leaving directory '/media/data1/aeskulap-1.0/dcmtk'
make[1]: *** [Makefile:488: all-recursive] Error 1
make[1]: Leaving directory '/media/data1/aeskulap-1.0'
make: *** [Makefile:420: all] Error 2
it's late here and I do not know what that means off the top of my head.

Last edited by BW-userx; 01-20-2019 at 08:00 PM.
 
Old 01-20-2019, 08:32 PM   #3
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Posts: 521

Rep: Reputation: 179Reputation: 179
aeskulap is very old like 2007. Likely you will be unable to compile and install aeskulap on Slackware-current
 
Old 01-21-2019, 05:31 AM   #4
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / 14.2
Posts: 300

Rep: Reputation: 98
Quote:
Originally Posted by Gordie View Post
aeskulap is very old like 2007. Likely you will be unable to compile and install aeskulap on Slackware-current
There is a fork of this, which appears to have fixes to compile on more recent systems. See: https://github.com/jenslody/aeskulap

Probably best to start by trying to compile using the fork, which has commits/fixes dating from 2018.

edit) Unfortunately doing so hits an error on Current after install dcmtk and libglademm as needed dependencies

@BW-userx: your error comes from missing dcmtk as far as I can tell.

Code:
poolassociation.cpp: In member function 'virtual OFCondition Association::SendObject(DcmDataset*)':
poolassociation.cpp:123:62: error: invalid conversion from 'char*' to 'size_t' {aka 'long unsigned int'} [-fpermissive]
  if (!DU_findSOPClassAndInstanceInDataSet(dataset, sopClass, sopInstance))
                                                              ^~~~~~~~~~~
poolassociation.cpp:123:73: error: too few arguments to function 'OFBool DU_findSOPClassAndInstanceInDataSet(DcmItem*, char*, size_t, char*, size_t, OFBool)'
  if (!DU_findSOPClassAndInstanceInDataSet(dataset, sopClass, sopInstance))
                                                                         ^
In file included from poolassociation.cpp:24:
/usr/include/dcmtk/dcmnet/diutil.h:110:28: note: declared here
 DCMTK_DCMNET_EXPORT OFBool DU_findSOPClassAndInstanceInDataSet(
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is already reported as an issue, but lacks a fix: https://github.com/jenslody/aeskulap/issues/14

Last edited by moesasji; 01-21-2019 at 06:13 AM. Reason: added info on attempt to build
 
Old 01-21-2019, 07:01 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,655

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797
thanks, I am not actuslly trying to install it for my own use, I was just trying to see what his issue was in installing it, and I see you found a updated fork of it, so I agree, OP should look into that.
 
Old 01-21-2019, 07:29 AM   #6
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
It seems that there are no available DICOM viewers for slackware current.
I spent all morning trying several open source viewers that i found on the net and this is what happened:

Aeskulap obsolete and won't build,
Amide, won't build as it requires old dependencies and gnome,
Kradview, won't build,
Invesalius, most promising as still supported but, offer packages for distros such as ubuntu and fedora, no source available (at least i couldnt find it),
Wasis, won't build (requires gnome)

Anyone with more updated news on DICOM viewers for slackware current? If not, I will close this thread.

Regards
 
Old 01-21-2019, 07:38 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,792

Rep: Reputation: Disabled
Quote:
Originally Posted by however View Post
Invesalius, most promising as still supported but, offer packages for distros such as ubuntu and fedora, no source available (at least i couldnt find it)
https://github.com/invesalius/invesalius3
 
1 members found this post helpful.
Old 01-21-2019, 08:23 AM   #8
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
just tried Ginkgo CADx (last updated 4yrs ago) and same negative outcome.

grazie.

However, it seems that it has been tested on Ubuntu and requires many python dependencies.

Should i try to test/install it on slackware current, I would have to find those phython deps. It seems that python.org list the libraries where each dependency can be found; now, searching 12 dependencies in over 50 python libraries is a daunting job.

I might keep my small work notebook with slackware 14.1 as aeskulap still works fine.
 
Old 01-21-2019, 09:11 AM   #9
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / 14.2
Posts: 300

Rep: Reputation: 98
Quote:
Originally Posted by however View Post
Aeskulap obsolete and won't build,
I disagree with the first part of your statement here. If you look at https://github.com/jenslody/aeskulap you'll see that this guy has effectively taken over from the original developer and is still active. The error that is already flagged up in the issue I linked to earlier seems pretty clear and a fix might exist if you look through Debian/Arch/Gentoo patches.

If you really don't know how to fix it yourself you might confirm that you have the same issue on the bugtracker which will trigger an email to the person looking after it.

btw) The Archbuild suggests as work-around for the problem above to build against dcmtk 3.6.3. See https://aur.archlinux.org/packages/aeskulap/This suggestion seems correct as the following patch in dcmtk from may 2018 is what introduces this problem: http://git.dcmtk.org/?p=dcmtk.git;a=...eeb4ed5#patch5

Last edited by moesasji; 01-21-2019 at 09:31 AM. Reason: suggest workaound
 
Old 01-21-2019, 09:23 AM   #10
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
moesasji
... a fix might exist if you look through Debian/Arch/Gentoo patches.
again, I am not trying to discredit anyone's hard work, and I a pretty sure that this new guywill come up with a fanbtastic package once is finished but, as for now I rather confirm 'what is rather than what it might be'.

I will check the bug tracker, compare the builds issues and inform the new developer accordingly.

Thanks
 
Old 01-21-2019, 10:27 AM   #11
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / 14.2
Posts: 300

Rep: Reputation: 98
Quote:
Originally Posted by however View Post
again, I am not trying to discredit anyone's hard work, and I a pretty sure that this new guywill come up with a fanbtastic package once is finished but, as for now I rather confirm 'what is rather than what it might be'.
Looking at the code I'm pretty sure that if you just build against dcmtk 3.6.3 Aeskulap will in all likelyhood just work for now. Good luck!
 
Old 01-21-2019, 03:04 PM   #12
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by moesasji View Post
Looking at the code I'm pretty sure that if you just build against dcmtk 3.6.3 Aeskulap will in all likelyhood just work for now. Good luck!
I am frustrated cos, either I forgot how to configure, build and install a package; or something is not right here.

So,
1) I have git cloned https://github.com/jenslody/aeskulap,
2) checked I have all the necessary dependencies,
3) installed the dcmtk3.6.3 (workaround dependency instead of dcmtk3.6.4, as suggested)
4) ./configure && make && make install
5) bash: ./configure: No such file or directory

A little surprised, I browse the aeskulap directory and there is not configure file but rather a configure.ac file which is supposed to be a "Fix version string in configure.ac, fix Fedora spec-file" (whatever that means).

Now, i read the f$#@ing manual/install file, asked for help on LQ and not sure where to bang my head next.

Am i missing something?

Regards,
 
Old 01-21-2019, 03:53 PM   #13
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / 14.2
Posts: 300

Rep: Reputation: 98
Quote:
Originally Posted by however View Post
Am i missing something?
This one is atypical. You need to run ./autogen.sh first for the ./configure to work. Don't ask me why.

btw) I would not run a "make install" as that polutes your system. Better to write a slackbuild using the autotools template once you know that make works.

Last edited by moesasji; 01-21-2019 at 03:55 PM.
 
Old 01-21-2019, 03:56 PM   #14
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 552

Rep: Reputation: 148Reputation: 148
Being a git-hub source, you might need to run some extra commands to create the local configure script.
In this case, you might try to run autogen.sh before configure.

And see the post of BW-userx, by creating a slackbuild script you are always working with a clean source package and can easily upgrade or reinstall by changing some bits in the script without needing to find all details again.

hth
 
Old 01-21-2019, 05:02 PM   #15
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
Thanks for your fast and helpful, but not effective, reply.

./autogen.sh helped in creating a configure file (smiling again),
./configure was successful (getting excited now),
make failed (blood pressure to the sky)
Code:
make[2]: Entering directory '/home/professor/pckgs/aeskulap/src'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -g -O2   -o aeskulap binreloc.o abusycursor.o astockids.o aiconfactory.o mainwindow.o studymanager.o settings.o prescandialog.o aboutdialog.o windowleveldialog.o main.o  ../widgets/libgtkdicom.la ../imagepool/libimagepool.la ../configuration/libconfiguration.la -lgtkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lglademm-2.4 -lgtkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2 -lgthread-2.0 -pthread -lglib-2.0  -L/usr/local/lib -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -loflog -lofstd -lpng -ltiff -ljpeg 
libtool: link: g++ -g -O2 -o .libs/aeskulap binreloc.o abusycursor.o astockids.o aiconfactory.o mainwindow.o studymanager.o settings.o prescandialog.o aboutdialog.o windowleveldialog.o main.o -pthread  ../widgets/.libs/libgtkdicom.a ../imagepool/.libs/libimagepool.so -L/usr/local/lib /home/professor/pckgs/aeskulap/configuration/.libs/libconfiguration.so ../configuration/.libs/libconfiguration.so /usr/lib64/libglademm-2.4.so -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lxml2 -lgthread-2.0 -lglib-2.0 -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -loflog -lofstd -lpng -ltiff -ljpeg -pthread -Wl,-rpath -Wl,/usr/local/lib/aeskulap
/usr/bin/ld: warning: libicuuc.so.56, needed by /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libdcmjpeg.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.56, needed by /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libdcmjpeg.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `ucnv_getName_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `ucnv_setToUCallBack_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `ucnv_setFromUCallBack_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `ucnv_open_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `u_errorName_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `ucnv_convertEx_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `UCNV_FROM_U_CALLBACK_SKIP_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `UCNV_TO_U_CALLBACK_STOP_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `UCNV_FROM_U_CALLBACK_STOP_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `ucnv_getFromUCallBack_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `UCNV_TO_U_CALLBACK_SKIP_56'
/usr/bin/ld: /usr/lib64/gcc/x86_64-slackware-linux/8.2.0/../../../../lib64/libofstd.so: undefined reference to `ucnv_close_56'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:572: aeskulap] Error 1
make[2]: Leaving directory '/home/professor/pckgs/aeskulap/src'
make[1]: *** [Makefile:495: all-recursive] Error 1
make[1]: Leaving directory '/home/professor/pckgs/aeskulap'
make: *** [Makefile:427: all] Error 2
bash-5.0$
Not sure whether it is a matter of bad luck, but I have the same guts feeling that i mentioned earlier: the package does NOT compile on slackware current; (i believe that those bolded libraries are part of dcmtk <dicomtoolkit> not required according to https://aur.archlinux.org/packages/aeskulap/ eventhough I installed the workaround dcmtk3.6.3 version).

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
-current with 4.14.3 can't build kodi from ponce sbo repo slackb0t Slackware 7 12-13-2017 08:32 PM
[SOLVED] slackbuild/include error in a tar file while trying to compile off of ponce slackbuilds current BW-userx Slackware 1 10-13-2017 12:32 PM
How can i use slapt-src with "current" ponce repo ? USUARIONUEVO Slackware 2 05-29-2017 05:01 PM
[SOLVED] How To setup sbotools.conf for ponce's -current repository and slackpkg+ config. bamunds Slackware 4 09-24-2016 10:45 PM
when is CPL changed to 0 when a user program divide by zero exception happens? titan22 Linux - Kernel 4 04-14-2009 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration