Coder Social home page Coder Social logo

Build fails on Debian 9 with GCC 6.3 about axiom HOT 2 OPEN

daly avatar daly commented on August 25, 2024 2
Build fails on Debian 9 with GCC 6.3

from axiom.

Comments (2)

wsdookadr avatar wsdookadr commented on August 25, 2024

@shakthimaan I received similar errors to the ones you've posted.

I've had a look at #6 and @daly says he's using gcc version 4.8.2 .
I'm using Debian buster which has gcc 8 in the repository.

So I had a look to see which Debian has a version closer to @daly 's version and it turns
out that jessie has version 4.9.2

I then used debootstrap to create an environment with jessie (in a similar way to how it's described in this post )

debootstrap --foreign --arch=amd64 jessie jessie-chroot http://ftp.de.debian.org/debian/

Then, copy the axiom repository into the chroot and enter the chroot:

cp -r axiom/ jessie-chroot/
sudo chroot jessie-chroot

Then ran the 2nd stage inside the chroot to install the rest of the base system

/debootstrap/debootstrap --second-stage

If you have an unclean local axiom git clone, you can reset and remove any files that are not part of the git repo.

cd /axiom/
git reset --hard dbef4a575d95bc2b6726d4ed67a4c46e39e5590d
git clean -dfx .

From here on, I've installed the packages mentioned in the download page under the debian section, and then ran make:

apt-get install gcc build-essential debhelper gettext gs-gpl html2text
apt-get install intltool-debian libgmp3-dev libice-dev libxau-dev libxaw7-dev
apt-get install po-debconf x-dev x11proto-input-dev x11proto-kb-dev 
apt-get install libreadline5-dev gawk
apt-get install texlive-pstricks git-core texlive
git clone git://github.com/daly/axiom.git
cd axiom
export AXIOM=`pwd`/mnt/debian
export PATH=$AXIOM/bin:$PATH
make

It took some hours, but eventually the build succesfully finished.

I believe this can be a solution to @shakthimaan 's reported issue.
@daly can we close this?

Thanks

from axiom.

shakthimaan avatar shakthimaan commented on August 25, 2024

Thanks for the detailed steps. I was able to follow the above instructions and compile axiom. The gs-gpl and x-dev packages were not found though. Also, I installed libreadline-gplv2-dev instead of libreadline5-dev (not available). Note: In order to copy the built artefacts to the host system, I had to copy them to /tmp inside the chroot environment, and then access them on the host system.

from axiom.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.