Error while compiling software

New to Debian (Or Linux in general)? Ask your questions here!

Error while compiling software

Postby pironman » 2018-04-19 12:41

Hi to everyone.
I'm try to compile BRL-CAD (because it is not in repository) by following these instructions:

http://brlcad.org/wiki/Compiling

and I have that error

Code: Select all
[ 45%] Linking CXX shared library ../../lib/librt.so
/usr/bin/ld: ../../lib/libbrep.so.20.0.1: invalid string offset 2608985768 >= 33227 for section `.dynstr'
../../lib/libbrep.so.20.0.1: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
src/librt/CMakeFiles/librt.dir/build.make:490: set di istruzioni per l'obiettivo "lib/librt.so.20.0.1" non riuscito
make[2]: *** [lib/librt.so.20.0.1] Errore 1
CMakeFiles/Makefile2:15610: set di istruzioni per l'obiettivo "src/librt/CMakeFiles/librt.dir/all" non riuscito
make[1]: *** [src/librt/CMakeFiles/librt.dir/all] Errore 2
Makefile:160: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2


Anyone can help me?

Thank you
pironman
 
Posts: 16
Joined: 2018-04-16 11:11

Re: Error while compiling software

Postby arochester » 2018-04-19 12:53

Do you have a particular reason for compiling? Why not just download and install the .deb? >>> https://sourceforge.net/projects/brlcad ... ux/7.26.4/
arochester
 
Posts: 1282
Joined: 2010-12-07 19:55

Re: Error while compiling software

Postby pironman » 2018-04-19 13:52

No reason, simply I never compile, and I want to try :mrgreen:
pironman
 
Posts: 16
Joined: 2018-04-16 11:11

Re: Error while compiling software

Postby Wheelerof4te » 2018-04-19 14:28

The only reasons for compiling software are:
1. There is no other way to obtain it.
2. For enabling certain build options that are disabled by default.
Nevertheless, if you really want to learn, Debian wiki has the answer how:
https://wiki.debian.org/BuildingTutorial
User avatar
Wheelerof4te
 
Posts: 1074
Joined: 2015-08-30 20:14

Re: Error while compiling software

Postby stevepusser » 2018-04-19 18:16

The deb is not compatible with Stretch, since it wants libpng12-0.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 27.9.4, wine-staging 3.13, MPC-QT 18.03, Linux kernel 4.17.8, ffmpeg 4.0.2
User avatar
stevepusser
 
Posts: 9795
Joined: 2009-10-06 05:53

Re: Error while compiling software

Postby pironman » 2018-04-20 11:59

Confirm, I try to install the .deb but didn't work.
I try to recompile, with a tar.bz2 downloaded from sourceforge (instead of svn) ant it works, but... not enable x11 support, then it is unusable.
Why happen that?
pironman
 
Posts: 16
Joined: 2018-04-16 11:11

Re: Error while compiling software

Postby stevepusser » 2018-04-20 17:13

Note that I was able to install the deb on Stretch-based MX 17, but I noticed it pulling in a jessie-versioned libpng12-0. I was able to track that down to the antiX repo that MX also uses, where it had apparently been added previously to support another old application. That's the base of my thinking that you can just download and install the Jessie package from packages.debian.org to satisfy the deb...which seems to me to be much less of a headache that trying to compile BRL from source. Make sure to use gdebi or apt to manually install the Jessie deb package.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 27.9.4, wine-staging 3.13, MPC-QT 18.03, Linux kernel 4.17.8, ffmpeg 4.0.2
User avatar
stevepusser
 
Posts: 9795
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable