Comments (2)
@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.
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)
- a typesetting error in bookvol4, page 18 HOT 2
- Upload releases to GitHub "Release" page HOT 1
- Move site to GitHub pages HOT 2
- apt-get install axiom does not work HOT 1
- HyperDoc irresponsive
- Consider renaming this software HOT 2
- failure running a container HOT 3
- Does not build on OSX HOT 1
- Can't finish compilation on Slackware HOT 1
- Compilation fails on Ubuntu 22.04.2 HOT 3
- Build failure: grep: int/input/*.regress: No such file or directory
- Make/build failure
- Problems compiling/linking on opensuse HOT 20
- Axion may 2017 starting problem HOT 7
- [question] Can I install Axiom under Windows/Cygwin? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axiom.