LinuxQuestions.org
Visit Jeremy's Blog.
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-21-2019, 07:23 PM   #16
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / 14.2
Posts: 300

Rep: Reputation: 98

Building software like this is always fun...at least Linux shows you were it goes wrong.

Looking at the warnings you see that you are missing specific versions of the libicuuc and libicudata libraries on your system. Those two are present in the icu4c-compat package build by Alienbob that is present in his repository. I use slackpkg file-search <library-name> to see this.

For that reason I would install icu4c-compat from the alienbob repository to get rid of those two warnings, which might fix this problem seeing that all the symbols following those warnings have the library number at the end.

btw) Note that the fact that your are at the linker stage means that you are really close. The code itself seems to compile now.
 
Old 01-21-2019, 09:10 PM   #17
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 135

Rep: Reputation: Disabled
Come one man, use template to compile your own app.
https://slackbuilds.org/templates/au...ate.SlackBuild

Look for arch and gentoo patches
https://www.archlinux.org/packages/
https://aur.archlinux.org/
https://packages.gentoo.org/

terrible think use ./configure make make install on slackware
 
Old 01-22-2019, 07:06 AM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,669

Rep: Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802
Quote:
Originally Posted by Candelabrus View Post
Come one man, use template to compile your own app.
https://slackbuilds.org/templates/au...ate.SlackBuild

Look for arch and gentoo patches
https://www.archlinux.org/packages/
https://aur.archlinux.org/
https://packages.gentoo.org/

terrible think use ./configure make make install on slackware


we still do use, configure, make , make install on slackware, just look at a slackbuild
 
Old 01-22-2019, 02:27 PM   #19
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,027

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by BW-userx View Post
[/B]

we still do use, configure, make , make install on slackware, just look at a slackbuild
Candelabrus was referring to simply running ./configure && make && make install without any modification or setting a DESTDIR which would allow you to create a Slackware package.

It is much better to create packages with your programs so you can easily upgrade or remove programs and you can find out what files belong to what packages. It's nice to not have untracked files in /usr/
 
Old 01-22-2019, 03:15 PM   #20
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
HI folks,
I think i'm getting closer.

Quote:
moesasji
Building software like this is always fun...at least Linux shows you were it goes wrong.
YES it is! and i had forgotten about it. It has been around 4yrs since I last compiled and installed a package with ./configure && make && make install.

Quote:
moesasji
Looking at the warnings you see that you are missing specific versions of the libicuuc and libicudata libraries on your system. Those two are present in the icu4c-compat package
after installing it, make completed successfully. Although, i didn't quite grasp this

Quote:
...build by Alienbob that is present in his repository. I use slackpkg file-search <library-name> to see this.
Where do you use the slackpkg file-search? Command line? (if so, I also tried and didn't return the same search) or Bob's repo?

Anyway, i am left with the install now. I do remember that make install DOES make a big salad in your installed package tree, various directories, etc. so, I think i will try to build a package.tgz.

Now, I have never done this (as sbopkg has made me lazy)

1) I have created a app.slackbuild shell script file, using the slackbuild template,
2) edited the first part of the file with app name, version, etc.,
3) execute ./app.slackbuild
4) tar: /home/professor/pckgs/aeskulap/aeskulap/aeskulap-0.2.2.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
bash-5.0#

I believe that I should edit this line in the app.slackbuild
Code:
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
but i really have no idea what to write as the aeskulap directory i have, was git cloned and there is no tar.gz archive. Do i need to create one?
I know that to use slackbuild I need the package source which is usually given in file.tar.gz.

Stuck and confused!
 
Old 01-22-2019, 03:17 PM   #21
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,669

Rep: Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802
there is the one way,

pick one
Code:
configure --prefix=/usr/local
configure --prefix/usr

make 

make install
the only thing using this is ,that you will need to keep a copy of your source somewhere so you can remove it if you want or need to. That is only if the Makefile has an uninstall included or added to it.

makes for a lot of having to keep tack of your source code if you only install like this.

hence the slackbuild that does the same using ./configure --prefix=/usr adding the needed arch and such then putting it into a nice little tar ball package to install, then one just needs to know the commands to add and remove, and what not.

I still for some of my stuff just use configure make make install. Because if I make a slackbuild for it it just gets lost among all of my stuff, and it is faster to just download untar then run the install steps. but this is just little stuff, like dockapps, if i go bigger or use someone elses on slackbuilds I'll add to it.


e16 for example it has docs themes and epplets, I downloaded epplats modifed some of to update and curtail them to what I want them to be upon install, tar them back up, then modifed the e16.Slackbuild off of slackbulds to put everything into one package.


so really might be able to get the deps and slackbuilds then just put everything into one main slackbuild to compile and make install all of the deps first then the main all into one package.

never tied that yet on a big scale.
 
Old 01-22-2019, 04:15 PM   #22
hoodlum7
Member
 
Registered: May 2016
Posts: 30

Rep: Reputation: Disabled
Quote:
Originally Posted by however View Post
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
I think you need to check your installed packages. You appear to be missing libicuuc and libicudata version 56 which is needed by libdcmjpeg. Look and see what version of these libraries you have installed.
 
Old 01-22-2019, 04:22 PM   #23
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
OK then, make install it is and whohala... Voilą.
Impressed (if i were a little younger I would definitely learn coding)
I may not confirm that aeskulap 0.2.2 <medical image and DICOM viewer> (available at https://github.com/jenslody/aeskulap ) runs on slackware current.
Thank you every one.

p.s.: i'm not old either!

Last edited by however; 01-22-2019 at 04:39 PM.
 
Old 01-22-2019, 04:29 PM   #24
ehartman
Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 594

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by hoodlum7 View Post
I think you need to check your installed packages. You appear to be missing libicuuc and libicudata version 56 which is needed by libdcmjpeg. Look and see what version of these libraries you have installed.
The version in -current of those libraries (which are in the icu4c package is already at 63.1 so a much older version of icu4c would be needed. Or a newer one of libdcmjpeg, of course!
 
Old 01-22-2019, 04:40 PM   #25
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ehartman View Post
The version in -current of those libraries (which are in the icu4c package is already at 63.1 so a much older version of icu4c would be needed. Or a newer one of libdcmjpeg, of course!
During the "love-making" process, I searched for libdcmjpeg everywhere and couldn't find it.
nevertheless, all it's good now (i am trying a DICOM disc to see if it actually works as it used to)
 
Old 01-22-2019, 04:43 PM   #26
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / 14.2
Posts: 300

Rep: Reputation: 98
Quote:
Originally Posted by however View Post
Where do you use the slackpkg file-search? Command line? (if so, I also tried and didn't return the same search) or Bob's repo?
Excellent news that you got things to work in the end.

For future work: with slackpkgplus as a plugin you are able to use non-official repos and it indeed works from the command-line. I have alienbobs repo enabled on my systems for things that are really painful to build from source like VLC. That is which is why I could see that he had the libraries you needed packaged up in the icu4c-compat package.

You can find slackpkgplus here: http://slakfinder.org/slackpkg+.html Definitely worth having in addition to sbopkg, which I also use.

Last edited by moesasji; 01-22-2019 at 04:46 PM.
 
Old 01-22-2019, 04:59 PM   #27
however
Member
 
Registered: Jan 2019
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by moesasji View Post
Excellent news that you got things to work in the end.

For future work: with slackpkgplus as a plugin you are able to use non-official repos and it indeed works from the command-line. I have alienbobs repo enabled on my systems for things that are really painful to build from source like VLC. That is which is why I could see that he had the libraries you needed packaged up in the icu4c-compat package.

You can find slackpkgplus here: http://slakfinder.org/slackpkg+.html Definitely worth having in addition to sbopkg, which I also use.
THANK YOU! ))
 
  


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 10:53 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