edeproject / ede

EDE code
GNU General Public License v2.0
19 stars 3 forks source link

configure: error: jam version is too old. Download a newer version from our repository #7

Open alavaelian opened 2 years ago

alavaelian commented 2 years ago

i already downloaded the repository version of jam an i still get that message

alavaelian commented 2 years ago

an then i get this when i try to do jam Segmentation fault (core dumped)

sanel commented 2 years ago

Which jam you are using? Have you managed to compile it and install?

sanel commented 2 years ago

Also, OS/CPU/platform details would be helpul :)

alavaelian commented 2 years ago

OS : Arch Linux x86_64 CPU:Intel i5-4460 (4) @ 3.400GHz i am using the jam version that says in the guide in here, and yes i can compile and install it but when i try make ./configure to ede lib i am getting that error

sanel commented 2 years ago

What you get when you type: jam -v?

alavaelian commented 2 years ago

Jam 2.5-haiku-20080327. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.

sanel commented 2 years ago

Hm... something is not right here. I have the same version and it is parsing it without problems.

Try creating "configtest.jam" file with the following content (watch for space before semicolon):

 Echo $(JAMVERSION) ;

then run:

 jam -f configtest.jam  | head -1 | sed -e 's/\.//g'

It should write "25". Even better, create a shell script "demo.sh" with this content:

#!/bin/sh

jam_version=$(jam -f configtest.jam  | head -1 | sed -e 's/\.//g')

if test "$jam_version" -ge 23; then
 echo "OK"
else
 echo "Not OK"
if

and run:

chmod +x demo.sh
./demo.sh

What is the output? If you happen to run Ubuntu, try running after this:

/usr/bin/bash demo.sh