Not able to install 'aeskulap'

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Not able to install 'aeskulap'

Post by rsal »

I tried to install aeskulap thru slapt-src and found that it needs: gtkmm-2 (and its dependencies: glibmm-2, cairomm-1, atkmm-2), libglademm-2, gconfmm-2. Can these be added to dependency list of aeskulap so that they get installed automatically? Also, even after installing them aeskulap did not compile. Following was the last part of console-output:
...
...
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i486 -mtune=i686 -o libconfiguration.la -rpath /usr/lib/aeskulap -Wl,-rpath,/usr/lib/aeskulap -avoid-version aconfiguration.lo aconfigclient.lo -lgconfmm-2.6 -lglibmm-2.4 -lgconf-2 -lgobject-2.0 -lsigc-2.0 -lglib-2.0 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lpng -ltiff -ljpeg
grep: /usr/lib/libgconf-2.la: No such file or directory
/bin/sed: can't read /usr/lib/libgconf-2.la: No such file or directory
libtool: link: `/usr/lib/libgconf-2.la' is not a valid libtool archive
make[2]: *** [libconfiguration.la] Error 1
make[2]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1/configuration'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1'
make: *** [all] Error 2
fakeroot -- sh aeskulap.SlackBuild Failed
How can I solve this?
If this cannot be solved, do I need to give some clean-up command to remove partially made files which may be wasting space?
I ran 'slapt-src -i aeskulap' command as root. Do I need to be root or regular user while running slapt-src?
Thanks for your help.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Not able to install 'aeskulap'

Post by gapan »

It compiles just fine here. How did you install those missing packages (glibmm etc) ?
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Not able to install 'aeskulap'

Post by mimosa »

I looked up aeskulap on slackbuilds.org and saw that libglademm and gconfmm are required, so I installed them from slapt-get / GSlapt (always use official Salix packages as a first resort). However, the build failed similarly.

This is Salix 14.0.1 xfce 64 bits.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Not able to install 'aeskulap'

Post by laprjns »

Ok, I gave this a try on my 64 bit desktop. First I installed both ibglademm and gconfmm packages from the Salix repo using slapt-get. Then try installing aeskulap using slapt-src. Got the exact same error as ral.

Code: Select all

/bin/sed: can't read /usr/lib64/libgconf-2.la: No such file or directory
libtool: link: `/usr/lib64/libgconf-2.la' is not a valid libtool archive
make[2]: *** [libconfiguration.la] Error 1
make[2]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1/configuration'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1'
make: *** [all] Error 2
fakeroot -- sh aeskulap.SlackBuild Failed
Googled the first line in the above (/usr/lib64/libgconf-2.la' is not a valid libtool archive) and found this thread:
http://www.linuxquestions.org/questions ... 175429931/
My interpretation of this is that .la files are like appendix; you don't really need it , so if it's hurting you, just get ride it. Following the suggestion from the linuxguestions thread I grep'ed my /usr/lib64/ directory for files that contained "libgconf-2.la"

Code: Select all

grep "libgconf-2.la" *.la
and got a very long output listing. Luckily the very first line referenced libgconfmm-2.6.la. I move this file to /tmp and again tried to install aeskulap using slapt-src. This time it built and installed without problems.

I checked the gconfmm package in the salix repo and it does indeed install the libgconfmm-2.6.la in /usr/lib64 (or /usr/lib for 32 bit). Also tried installing the Sbo gconfmm package and it also installed the libgconfmm-2.6.la in /usr/lib64. But funny thing is that aeskulap build and installed just fine with this gconfmm from Sbo :? I took a quick look at both the slackbuild and slkbuild files and the only difference that pop out to me was that the slkbuild used "--disable-static" as a configure option.

That's as far as i can dig, going to have to wait for one of the pros to weigh in on this. I am kinda wondering why it work for gapan; i assume that he is using his own package ;).
rsal wrote: How can I solve this?
Looks like you have two choices;
Move or delete libgconfmm-2.6.la from /use/lib and try install aeskulap again or;
Remove the Salix gconfmm package and install the one from Sbo using slapt-src. then try installing aeskulap again.
If this cannot be solved, do I need to give some clean-up command to remove partially made files which may be wasting space?
Whether you need to free up space is up to you. To clean up the slapt-src build directory do a "slapt-src --clean"
I ran 'slapt-src -i aeskulap' command as root. Do I need to be root or regular user while running slapt-src?
You need to be root.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: Not able to install 'aeskulap'

Post by rsal »

Can these be added to dependency list of aeskulap so that they are installed automatically (for future users): gtkmm-2 (and its dependencies: glibmm-2, cairomm-1, atkmm-2), libglademm-2, gconfmm-2 ?
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: Not able to install 'aeskulap'

Post by rsal »

Looks like you have two choices:
Move or delete libgconfmm-2.6.la from /use/lib and try install aeskulap again or;
Remove the Salix gconfmm package and install the one from Sbo using slapt-src. then try installing aeskulap again.
I tried first choice (being simpler) and it worked very well. Now the application aeskulap is running all right. What is the location of the built package which I can copy and save for any future use, so that I do not have to compile again?
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Not able to install 'aeskulap'

Post by laprjns »

rsal wrote:What is the location of the built package which I can copy and save for any future use, so that I do not have to compile again?
/usr/src/slapt-src/graphics/aeskulap/
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply