#1 Le 06/03/2023, à 14:27
- zariski
Installer asymptote 2.85
Bonjour,
bon après avoir fait moult bêtises je me tourne vers quelqu'un de charitable qui saurait comment installer proprement la dernière version d'asymptote.
Je suis sous Ubuntu 22.10 et je souhaiterais utiliser non pas asymptote installé par défaut mais la 2.85...
Franchement la doc est plus que aride.
De plus j'ai découvert en tapant "asy --version" que certains modules sont marqués "disabled" alors que je souhaiterais avoir "enabled gsl".
Ah oui petit précision, je ne suis pas vraiment débutant sous linux mais pas non plus une "flèche" ?
Taper
sudo apt install asymptote
ne me convient pas évidemment.
Je vous remercie
EC
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#2 Le 06/03/2023, à 15:59
- xubu1957
Re : Installer asymptote 2.85
Bonjour,
Si tu peux de servir de linuxfromscratch.org/blfs/view/svn/pst/asymptote.html
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#3 Le 06/03/2023, à 16:47
- gl38
Re : Installer asymptote 2.85
As-tu téléchargé un fichier ?
Quelque chose du genre asymptote-2.85.x86_64.tgz ?
Cordialement,
Guy
Hors ligne
#4 Le 06/03/2023, à 17:44
- zariski
Re : Installer asymptote 2.85
J'ai téléchargé : "asymptote-2.85.x86_64.tgz
puis je l'ai extrait dans /Téléchargements
J'ai maintenant un joli dossier "asymptote-2.85.x86_64" contenant "/usr/local" et "/usr/share" dont je ne sais pas quoi faire.
J'ai aussi essayé d'installer en téléchargeant "asymptote-2.85.src" puis en tapant les commandes
./autogen.sh
qui ne fonctionne pas...
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#5 Le 06/03/2023, à 18:36
- gl38
Re : Installer asymptote 2.85
Il semble que ce que contient le fichier asymptote-2.85.x86_64.tgz doivent s'installer à la racine de sorte que le usr vienne se mettre dans le dossier /usr qui existe déjà. Mais bon, si on lance la commande asy qui est dans le dossier bin, il manque une librairie...
Avec le .src, d'après le fichier INSTALL, il faut d'abord lancer configure et ajouter tout ce qui va manquer avant qu'il fabrique le Makefile...
Bon courage,
Guy
Dernière modification par gl38 (Le 06/03/2023, à 20:29)
Hors ligne
#6 Le 06/03/2023, à 19:04
- zariski
Re : Installer asymptote 2.85
Merci beaucoup...
Je suis pas sorti de l'auberge
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#7 Le 07/03/2023, à 18:36
- zariski
Re : Installer asymptote 2.85
Bon je pense avoir réussi l'install d' Asymptote-2.85".
Cependant lors du "./configure --prefix=$HOME/asymptote" j'obtiens les avertissements suivants (parmi d'autres) :
Package gsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gsl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gsl' found
Package gsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gsl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gsl' found
checking for gsl/gsl_sf.h... no
configure: *** Header file gsl_sf.h not found: will compile without optional special functions. ***
checking for glm/glm.hpp... no
configure: *** Could not find glm header files: will compile without WebGL or OpenGL support ***
et là je ne sais pas comment faire pour avoir cette maudite "gsl"
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#8 Le 07/03/2023, à 20:26
- gl38
Re : Installer asymptote 2.85
Je suggère d'ajouter le paquet libgsl-dev. Le dev est là pour qu'on ait ce qu'il faut pour faire une compilation.
Cordialement,
Guy
Hors ligne
#9 Le 08/03/2023, à 07:33
- gl38
Re : Installer asymptote 2.85
Chez moi (Lubuntu 22.04), le configure va au bout de son travail et fait le Makefile.
Ensuite make compile le tout.
Reste à faire l'installation, mais je n'ai pas envie de la faire, n'ayant pas l'usage de ce programme.
Cordialement,
Guy
Hors ligne
#10 Le 08/03/2023, à 07:49
- zariski
Re : Installer asymptote 2.85
Voilà maintenant ce que j'obtiens après un "make all"... ça devient galère franchement... Je veux bien qu'on me qualifie de "bille" sous linux mais franchement rien ne marche pour un débutant lambda, de quoi rebuter n'importe qui.
....:~/Téléchargements/asymptote-2.85$ make all
if test ! -s revision.cc || test "2.85" != "2.85"; then \
echo "const char *REVISION="\"2.85\"\; > revision.cc; \
echo const char *AsyGLVersion=\"1.02\"\; >> revision.cc; \
if test ! -e base/webgl/asygl.js; then \
cp base/webgl/asygl-1.02.js base/webgl/asygl.js; \
fi \
fi
g++ -DHAVE_CONFIG_H -D_FILE_OFFSET_BIS=64 -DUSEGC -DFFTWPP_SINGLE_THREAD -Wall -I. -Igc-8.2.0/include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/tirpc -std=c++14 -g -O2 -fno-var-tracking -ILspCpp/include -o revision.o -c revision.cc;
echo string VERSION=\"2.85\"\; > base/version.asy
echo @set VERSION 2.85 > doc/version.texi
echo @set Datadir /home/eric/asymptote/share >> doc/version.texi
echo @set Docdir /home/eric/asymptote/share/doc/asymptote >> doc/version.texi
echo "#!/usr/bin/env python3" > GUI/xasyVersion.py
echo xasyVersion = \"2.85\" >> GUI/xasyVersion.py
if test -n ""; then \
cat asy.rc | sed -e "s/ASYMPTOTE_VERSION/2.85/" | \
windres -o asy.o; \
fi
g++ -DHAVE_CONFIG_H -D_FILE_OFFSET_BIS=64 -DUSEGC -DFFTWPP_SINGLE_THREAD -Wall -I. -Igc-8.2.0/include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/tirpc -std=c++14 -g -O2 -fno-var-tracking -ILspCpp/include -o glrender.o -c glrender.cc
glrender.cc: In function ‘bool gl::NVIDIA()’:
glrender.cc:1899:43: error: ‘GL_SHADING_LANGUAGE_VERSION’ was not declared in this scope
1899 | char *GLSL_VERSION=(char *) glGetString(GL_SHADING_LANGUAGE_VERSION);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
glrender.cc:1899:31: error: ‘glGetString’ was not declared in this scope
1899 | char *GLSL_VERSION=(char *) glGetString(GL_SHADING_LANGUAGE_VERSION);
| ^~~~~~~~~~~
glrender.cc: In function ‘void gl::glrender(const mem::string&, const camp::picture*, const mem::string&, double, double, double, double, const camp::triple&, const camp::triple&, const camp::pair&, const camp::pair&, double*, double*, size_t, camp::triple*, double*, double*, bool, int)’:
glrender.cc:1911:17: error: ‘lasttime’ was not declared in this scope; did you mean ‘asctime’?
1911 | gettimeofday(&lasttime,NULL);
| ^~~~~~~~
| asctime
make: *** [Makefile:384 : glrender.o] Erreur 1
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#11 Le 08/03/2023, à 07:52
- zariski
Re : Installer asymptote 2.85
et puis je viens de voir qu'après un "./config --prefix=$HOME/asymptote" j'obtiens ceci ...
Package gsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gsl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gsl' found
Package gsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gsl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gsl' found
checking for gsl/gsl_sf.h... no
configure: *** Header file gsl_sf.h not found: will compile without optional special functions. ***
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#12 Le 08/03/2023, à 07:56
- zariski
Re : Installer asymptote 2.85
pourtant la version 2.85 semble installée mais sans les options dont GSL
~/Téléchargements/asymptote-2.85$ asy --version
Asymptote version 2.85 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
ENABLED OPTIONS:
XDR External Data Representation (portable binary file format for V3D)
LSP Language Server Protocol
Readline Interactive history and editing
GC Boehm garbage collector
threads Render OpenGL in separate thread
DISABLED OPTIONS:
V3D 3D vector graphics output
WebGL 3D HTML rendering
OpenGL 3D OpenGL rendering
SSBO GLSL shader storage buffer objects
GSL GNU Scientific Library (special functions)
FFTW3 Fast Fourier transforms
Eigen Eigenvalue library
CURL URL support
Sigsegv Distinguish stack overflows from segmentation faults
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#13 Le 08/03/2023, à 12:14
- gl38
Re : Installer asymptote 2.85
As(tu installé les paquets libgls?? et libgsl-dev ? où ?? est à remplacer par ce qu'il faut ?
Cordialement,
Guy
Hors ligne
#14 Le 08/03/2023, à 12:17
- gl38
Re : Installer asymptote 2.85
Peux-tu montrer les fichiers configure.status et Makefile ?
Cordialement,
Guy
Hors ligne
#15 Le 08/03/2023, à 12:53
- gl38
Re : Installer asymptote 2.85
Moi, j'ai
/home/src/asymptote-2.85$ ./asy --version
Asymptote version 2.85 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
ENABLED OPTIONS:
GSL GNU Scientific Library (special functions)
XDR External Data Representation (portable binary file format for V3D)
GC Boehm garbage collector
threads Render OpenGL in separate thread
DISABLED OPTIONS:
V3D 3D vector graphics output
WebGL 3D HTML rendering
OpenGL 3D OpenGL rendering
SSBO GLSL shader storage buffer objects
FFTW3 Fast Fourier transforms
Eigen Eigenvalue library
CURL URL support
LSP Language Server Protocol
Readline Interactive history and editing
Editline interactive editing (if Readline is unavailable)
Sigsegv Distinguish stack overflows from segmentation faults
[1]+ Fini emacs Makefile
Donc, courage !
Guy
Hors ligne
#16 Le 08/03/2023, à 15:16
- zariski
Re : Installer asymptote 2.85
#! /bin/bash
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=${CONFIG_SHELL-/bin/bash}
export SHELL
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else $as_nop
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac
fi
# Reset variables that may have inherited troublesome values from
# the environment.
# IFS needs to be set, to space, tab, and newline, in precisely that order.
# (If _AS_PATH_WALK were called with IFS unset, it would have the
# side effect of setting IFS to empty, thus disabling word splitting.)
# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
IFS=" "" $as_nl"
PS1='$ '
PS2='> '
PS4='+ '
# Ensure predictable behavior from utilities with locale-dependent output.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE
# We cannot yet rely on "unset" to work, but we need these variables
# to be unset--not just set to an empty or harmless value--now, to
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
# also avoids known problems related to "unset" and subshell syntax
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
do eval test \${$as_var+y} \
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
# Ensure that fds 0, 1, and 2 are open.
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
# The user is always right.
if ${PATH_SEPARATOR+false} :; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';'
}
fi
# Find who we are. Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
done
IFS=$as_save_IFS
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
as_status=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
printf "%s\n" "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
return $1
} # as_fn_set_status
# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
set +e
as_fn_set_status $1
exit $1
} # as_fn_exit
# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
{ eval $1=; unset $1;}
}
as_unset=as_fn_unset
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
else $as_nop
as_fn_append ()
{
eval $1=\$$1\$2
}
fi # as_fn_append
# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
else $as_nop
as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
}
fi # as_fn_arith
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
else
as_expr=false
fi
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
as_basename=basename
else
as_basename=false
fi
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
# Determine whether it's possible to make 'echo' print without a newline.
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
case `echo 'xy\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
xy) ECHO_C='\c';;
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
ECHO_T=' ';;
esac;;
*)
ECHO_N='-n';;
esac
# For backward compatibility with old third-party macros, we provide
# the shell variables $as_echo and $as_echo_n. New code should use
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
as_echo='printf %s\n'
as_echo_n='printf %s'
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else
rm -f conf$$.dir
mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# In both cases, we have to default to `cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -pR'
fi
else
as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{
case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || eval $as_mkdir_p || {
as_dirs=
while :; do
case $as_dir in #(
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
test -d "$as_dir" && break
done
test -z "$as_dirs" || eval "mkdir $as_dirs"
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
as_mkdir_p='mkdir -p "$as_dir"'
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
test -f "$1" && test -x "$1"
} # as_fn_executable_p
as_test_x='test -x'
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by Asymptote $as_me 2.85, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q`
"
# Files that config.status was made for.
config_files=" Makefile doc/Makefile doc/png/Makefile"
config_headers=" config.h"
ac_cs_usage="\
\`$as_me' instantiates files and other configuration actions
from templates according to the current configuration. Unless the files
and actions are specified as TAGs, all are instantiated by default.
Usage: $0 [OPTION]... [TAG]...
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
--config print configuration, then exit
-q, --quiet, --silent
do not print progress messages
-d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
--header=FILE[:TEMPLATE]
instantiate the configuration header FILE
Configuration files:
$config_files
Configuration headers:
$config_headers
Report bugs to <https://github.com/vectorgraphics/asymptote/issues>."
ac_cs_config='--prefix=/home/asymptote --enable-fftw --enable-gsl'
ac_cs_version="\
Asymptote config.status 2.85
configured by ./configure, generated by GNU Autoconf 2.71,
with options \"$ac_cs_config\"
Copyright (C) 2021 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
ac_pwd='/home/eric/Téléchargements/asymptote-2.85'
srcdir='.'
INSTALL='/usr/bin/install -c'
test -n "$AWK" || AWK=awk
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
while test $# != 0
do
case $1 in
--*=?*)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
ac_shift=:
;;
--*=)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=
ac_shift=:
;;
*)
ac_option=$1
ac_optarg=$2
ac_shift=shift
;;
esac
case $ac_option in
# Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
printf "%s\n" "$ac_cs_version"; exit ;;
--config | --confi | --conf | --con | --co | --c )
printf "%s\n" "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
case $ac_optarg in
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
'') as_fn_error $? "missing file argument" ;;
esac
as_fn_append CONFIG_FILES " '$ac_optarg'"
ac_need_defaults=false;;
--header | --heade | --head | --hea )
$ac_shift
case $ac_optarg in
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
ac_need_defaults=false;;
--he | --h)
# Conflict between --help and --header
as_fn_error $? "ambiguous option: \`$1'
Try \`$0 --help' for more information.";;
--help | --hel | -h )
printf "%s\n" "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
ac_cs_silent=: ;;
# This is an error.
-*) as_fn_error $? "unrecognized option: \`$1'
Try \`$0 --help' for more information." ;;
*) as_fn_append ac_config_targets " $1"
ac_need_defaults=false ;;
esac
shift
done
ac_configure_extra_args=
if $ac_cs_silent; then
exec 6>/dev/null
ac_configure_extra_args="$ac_configure_extra_args --silent"
fi
if $ac_cs_recheck; then
set X /bin/bash './configure' '--prefix=/home/asymptote' '--enable-fftw' '--enable-gsl' $ac_configure_extra_args --no-create --no-recursion
shift
\printf "%s\n" "running CONFIG_SHELL=/bin/bash $*" >&6
CONFIG_SHELL='/bin/bash'
export CONFIG_SHELL
exec "$@"
fi
exec 5>>config.log
{
echo
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
printf "%s\n" "$ac_log"
} >&5
# Handling of arguments.
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"doc/png/Makefile") CONFIG_FILES="$CONFIG_FILES doc/png/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
done
# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used. Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
fi
# Have a temporary directory for convenience. Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
tmp= ac_tmp=
trap 'exit_status=$?
: "${ac_tmp:=$tmp}"
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
' 0
trap 'as_fn_exit 1' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.
{
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
test -d "$tmp"
} ||
{
tmp=./conf$$-$RANDOM
(umask 077 && mkdir "$tmp")
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
ac_tmp=$tmp
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
if test -n "$CONFIG_FILES"; then
ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr.
# But we know of no other shell where ac_cr would be empty at this
# point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'
else
ac_cs_awk_cr=$ac_cr
fi
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
S["LTLIBOBJS"]=""
S["LIBOBJS"]=""
S["PTHREAD_CFLAGS"]=""
S["PTHREAD_LIBS"]=""
S["PTHREAD_CC"]="gcc"
S["ax_pthread_config"]=""
S["GLEW"]=""
S["OPTIONS"]="-D_FILE_OFFSET_BIS=64 -DUSEGC "
S["INCL"]="-I. -I$(GC)/include"
S["LSPLIBS"]="-llspcpp -lnetwork-uri -lboost_filesystem -lboost_thread "
S["LSPLIB"]="liblspcpp.a"
S["GCPPLIB"]=""
S["GCLIB"]="$(GC)/.libs/libgc.a"
S["GCOPTIONS"]="--disable-shared "
S["ATOMICVERSION"]="7.6.12"
S["ASYGLVERSION"]="1.02"
S["GCVERSION"]="8.2.0"
S["getopt"]=""
S["FLEX"]="yes"
S["BISON"]="yes"
S["SET_MAKE"]=""
S["INSTALL_DATA"]="${INSTALL} -m 644"
S["INSTALL_SCRIPT"]="${INSTALL}"
S["INSTALL_PROGRAM"]="${INSTALL}"
S["LEXLIB"]=""
S["ac_ct_CXX"]="g++"
S["CXXFLAGS"]="-std=c++14"
S["CXX"]="g++"
S["LEX_OUTPUT_ROOT"]="lex.yy"
S["LEX"]="flex"
S["contextdir"]="/usr/local/texlive/texmf-local/tex/context/third/asymptote"
S["latexdir"]="/usr/local/texlive/texmf-local/tex/latex/asymptote"
S["TEXI2DVI"]="@echo \\*\\*\\*\\*\\*\\*\\*\\*\\*\\* Please install texi2dvi or put https://asymptote.sourceforge.io/asymptote.pdf in the doc directory: cannot execute texi2d"\
"vi"
S["kpsewhich"]="true"
S["Datadir"]="/home/asymptote/share"
S["host_os"]="linux-gnu"
S["host_vendor"]="pc"
S["host_cpu"]="x86_64"
S["host"]="x86_64-pc-linux-gnu"
S["build_os"]="linux-gnu"
S["build_vendor"]="pc"
S["build_cpu"]="x86_64"
S["build"]="x86_64-pc-linux-gnu"
S["OBJEXT"]="o"
S["EXEEXT"]=""
S["ac_ct_CC"]="gcc"
S["CPPFLAGS"]=" -I. -I$(GC)/include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/tirpc "
S["LDFLAGS"]=" -lreadline -ltirpc "
S["CFLAGS"]="-g -O2 -fno-var-tracking"
S["CC"]="gcc"
S["VERSION"]="2.85"
S["target_alias"]=""
S["host_alias"]=""
S["build_alias"]=""
S["LIBS"]="-ltirpc -lrt -lz -lreadline -ltinfo -lncurses "
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DHAVE_CONFIG_H"
S["mandir"]="${datarootdir}/man"
S["localedir"]="${datarootdir}/locale"
S["libdir"]="${exec_prefix}/lib"
S["psdir"]="${docdir}"
S["pdfdir"]="${docdir}"
S["dvidir"]="${docdir}"
S["htmldir"]="${docdir}"
S["infodir"]="${datarootdir}/info"
S["docdir"]="/home/asymptote/share/doc/asymptote"
S["oldincludedir"]="/usr/include"
S["includedir"]="${prefix}/include"
S["runstatedir"]="${localstatedir}/run"
S["localstatedir"]="${prefix}/var"
S["sharedstatedir"]="${prefix}/com"
S["sysconfdir"]="${prefix}/etc"
S["datadir"]="${datarootdir}"
S["datarootdir"]="${prefix}/share"
S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin"
S["program_transform_name"]="s,x,x,"
S["prefix"]="/home/asymptote"
S["exec_prefix"]="${prefix}"
S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]="https://github.com/vectorgraphics/asymptote/issues"
S["PACKAGE_STRING"]="Asymptote 2.85"
S["PACKAGE_VERSION"]="2.85"
S["PACKAGE_TARNAME"]="asymptote"
S["PACKAGE_NAME"]="Asymptote"
S["PATH_SEPARATOR"]=":"
S["SHELL"]="/bin/bash"
_ACAWK
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
for (key in S) S_is_set[key] = 1
FS = ""
}
{
line = $ 0
nfields = split(line, field, "@")
substed = 0
len = length(field[1])
for (i = 2; i < nfields; i++) {
key = field[i]
keylen = length(key)
if (S_is_set[key]) {
value = S[key]
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
len += length(value) + length(field[++i])
substed = 1
} else
len += 1 + keylen
}
print line
}
_ACAWK
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
cat
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
fi # test -n "$CONFIG_FILES"
# Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS.
# This happens for instance with `./config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
BEGIN {
D["PACKAGE_NAME"]=" \"Asymptote\""
D["PACKAGE_TARNAME"]=" \"asymptote\""
D["PACKAGE_VERSION"]=" \"2.85\""
D["PACKAGE_STRING"]=" \"Asymptote 2.85\""
D["PACKAGE_BUGREPORT"]=" \"https://github.com/vectorgraphics/asymptote/issues\""
D["PACKAGE_URL"]=" \"\""
D["HAVE_STDIO_H"]=" 1"
D["HAVE_STDLIB_H"]=" 1"
D["HAVE_STRING_H"]=" 1"
D["HAVE_INTTYPES_H"]=" 1"
D["HAVE_STDINT_H"]=" 1"
D["HAVE_STRINGS_H"]=" 1"
D["HAVE_SYS_STAT_H"]=" 1"
D["HAVE_SYS_TYPES_H"]=" 1"
D["HAVE_UNISTD_H"]=" 1"
D["STDC_HEADERS"]=" 1"
D["ASYMPTOTE_SYSDIR"]=" \"/home/asymptote/share/asymptote\""
D["ASYMPTOTE_DOCDIR"]=" \"/home/asymptote/share/doc/asymptote\""
D["YYTEXT_POINTER"]=" 1"
D["HAVE_TR1_UNORDERED_MAP"]=" 1"
D["HAVE_GNU_GETOPT_H"]=" 1"
D["HAVE_LIBZ"]=" 1"
D["HAVE_PTHREAD_PRIO_INHERIT"]=" 1"
D["HAVE_PTHREAD"]=" 1"
D["HAVE_LIBRT"]=" 1"
D["HAVE_LSP"]=" 1"
D["HAVE_LIBREADLINE"]=" 1"
D["HAVE_LIBTINFO"]=" 1"
D["HAVE_NCURSES_H"]=" 1"
D["HAVE_LIBCURSES"]=" 1"
D["HAVE_SYS_WAIT_H"]=" 1"
D["HAVE_FENV_H"]=" 1"
D["HAVE_STDDEF_H"]=" 1"
D["HAVE_LIBINTL_H"]=" 1"
D["HAVE_FPU_CONTROL_H"]=" 1"
D["HAVE_FEENABLEEXCEPT"]=" 1"
D["HAVE_RPC_RPC_H"]=" 1"
D["HAVE_LIBGLM"]=" 1"
D["HAVE_NCURSES_H"]=" 1"
D["HAVE_PTRDIFF_T"]=" 1"
D["HAVE_LONG_LONG"]=" 1"
D["HAVE_LONG"]=" 1"
D["HAVE_FORK"]=" 1"
D["HAVE_VFORK"]=" 1"
D["HAVE_WORKING_VFORK"]=" 1"
D["HAVE_WORKING_FORK"]=" 1"
D["HAVE_DUP2"]=" 1"
D["HAVE_FLOOR"]=" 1"
D["HAVE_MEMSET"]=" 1"
D["HAVE_STRCHR"]=" 1"
D["HAVE_TGAMMA"]=" 1"
D["HAVE_LGAMMA"]=" 1"
D["HAVE_MEMRCHR"]=" 1"
D["HAVE_STRFTIME"]=" 1"
D["HAVE_FSEEKO"]=" 1"
D["HAVE_STRPTIME"]=" 1"
D["HAVE_STRNLEN"]=" 1"
for (key in D) D_is_set[key] = 1
FS = ""
}
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
line = $ 0
split(line, arg, " ")
if (arg[1] == "#") {
defundef = arg[2]
mac1 = arg[3]
} else {
defundef = substr(arg[1], 2)
mac1 = arg[2]
}
split(mac1, mac2, "(") #)
macro = mac2[1]
prefix = substr(line, 1, index(line, defundef) - 1)
if (D_is_set[macro]) {
# Preserve the white space surrounding the "#".
print prefix "define", macro P[macro] D[macro]
next
} else {
# Replace #undef with comments. This is necessary, for example,
# in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
if (defundef == "undef") {
print "/*", prefix defundef, macro, "*/"
next
}
}
}
{ print }
_ACAWK
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
fi # test -n "$CONFIG_HEADERS"
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
shift
for ac_tag
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
:[FH]-) ac_tag=-:-;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac
ac_save_IFS=$IFS
IFS=:
set x $ac_tag
IFS=$ac_save_IFS
shift
ac_file=$1
shift
case $ac_mode in
:L) ac_source=$1;;
:[FH])
ac_file_inputs=
for ac_f
do
case $ac_f in
-) ac_f="$ac_tmp/stdin";;
*) # Look for the file first in the build tree, then in the source tree
# (if the path is not absolute). The absolute path cannot be DOS-style,
# because $ac_f cannot contain `:'.
test -f "$ac_f" ||
case $ac_f in
[\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac ||
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
esac
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
as_fn_append ac_file_inputs " '$ac_f'"
done
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
configure_input='Generated from '`
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
`' by configure.'
if test x"$ac_file" != x-; then
configure_input="$ac_file. $configure_input"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
printf "%s\n" "$as_me: creating $ac_file" >&6;}
fi
# Neutralize special characters interpreted by sed in replacement strings.
case $configure_input in #(
*\&* | *\|* | *\\* )
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
*) ac_sed_conf_input=$configure_input;;
esac
case $ac_tag in
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
esac
;;
esac
ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$ac_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
as_dir="$ac_dir"; as_fn_mkdir_p
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
case $ac_mode in
:F)
#
# CONFIG_FILE
#
case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
esac
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
p
q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
ac_datarootdir_hack='
s&@datadir@&${datarootdir}&g
s&@docdir@&/home/asymptote/share/doc/asymptote&g
s&@infodir@&${datarootdir}/info&g
s&@localedir@&${datarootdir}/locale&g
s&@mandir@&${datarootdir}/man&g
s&\${datarootdir}&${prefix}/share&g' ;;
esac
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
h
s///
s/^/:/
s/[ ]*$/:/
s/:\$(srcdir):/:/g
s/:\${srcdir}:/:/g
s/:@srcdir@:/:/g
s/^:*//
s/:*$//
x
s/\(=[ ]*\).*/\1/
G
s/\n//
s/^[^=]*=[ ]*$//
}
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@top_build_prefix@&$ac_top_build_prefix&;t t
s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
"$ac_tmp/out"`; test -z "$ac_out"; } &&
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined" >&5
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$ac_tmp/stdin"
case $ac_file in
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
esac \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
;;
:H)
#
# CONFIG_HEADER
#
if test x"$ac_file" != x-; then
{
printf "%s\n" "/* $configure_input */" >&1 \
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
} >"$ac_tmp/config.h" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
else
rm -f "$ac_file"
mv "$ac_tmp/config.h" "$ac_file" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
fi
else
printf "%s\n" "/* $configure_input */" >&1 \
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|| as_fn_error $? "could not create -" "$LINENO" 5
fi
;;
esac
done # for ac_tag
as_fn_exit 0
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#17 Le 08/03/2023, à 15:18
- zariski
Re : Installer asymptote 2.85
# Makefile. Generated from Makefile.in by configure.
ARCH = unix
POLL = poll
ASYGLVERSION = 1.02
GCVERSION = 8.2.0
GC = gc-$(GCVERSION)
LIBATOMIC = libatomic_ops-7.6.12
GCOPTIONS = --disable-shared
GCLIB = $(GC)/.libs/libgc.a
GCPPLIB =
GCLIBS = $(GCPPLIB) $(GCLIB)
LFLAGS = -lreadline -ltirpc -LLspCpp -LLspCpp/third_party/uri/src
LIBS = $(LFLAGS) -ltirpc -lrt -lz -lreadline -ltinfo -lncurses $(GCLIBS) -llspcpp -lnetwork-uri -lboost_filesystem -lboost_thread
DOSLIBS = $(subst -lncurses, -ltermcap, $(LIBS)) -lwolfssl -lgdi32 -lwinmm -s -static
CMAKE ?= cmake
PERL ?= perl
PYTHON ?= python3
BISON ?= bison
PYRCC ?= pyrcc5
PYUIC ?= pyuic5
# Libraries needed to make asymptote.so.
# We have to remove OpenGL, threading, GC, etc from this.
SHAREDLIBS = $(filter-out -lglut -GL -pthread $(GCLIBS), $(LIBS))
vpath %.cc prc
vpath %.ui GUI/windows
vpath %.py GUI/pyUIClass
vpath %.py GUI
CAMP = camperror path drawpath drawlabel picture psfile texfile util settings \
guide flatguide knot drawfill path3 drawpath3 drawsurface \
beziercurve bezierpatch pen pipestream
RUNTIME_FILES = runtime runbacktrace runpicture runlabel runhistory runarray \
runfile runsystem runpair runtriple runpath runpath3d runstring \
runmath
# Files to be scanned for pre-translated symbols defined by SYM(name).
SYMBOL_FILES = types builtin gsl $(RUNTIME_FILES)
PRC = PRCbitStream oPRCFile PRCdouble writePRC
COREFILES = $(CAMP) $(SYMBOL_FILES) env genv stm dec errormsg \
callable name symbol entry exp newexp stack camp.tab lex.yy \
access virtualfieldaccess absyn record interact fileio \
fftw++asy parallel simpson coder coenv impdatum \
locate parser program application varinit fundec refaccess \
envcompleter process constructor array Delaunay predicates \
$(PRC) glrender tr shaders jsfile v3dfile tinyexr EXRFiles GLTextures \
lspserv symbolmaps
FILES = $(COREFILES) main
SYMBOLSH = opsymbols.h allsymbols.h $(SYMBOL_FILES:=.symbols.h)
UIFILES = $(wildcard GUI/windows/*.ui)
PYFILES = $(wildcard GUI/pyUIClass/*.py) GUI/icons_rc.py
GENERATEDENUMS=v3dtypes v3dheadertypes
ASYGENERATEDENUMS=$(addprefix base/,$(GENERATEDENUMS:=.asy))
PYGENERATEDENUMS=$(GENERATEDENUMS:=.py)
DIST = camp.tab.h camp.tab.cc lex.yy.cc runtime.cc keywords.cc \
asy-keywords.el $(RUNTIME_FILES:=.cc) asy.list \
$(SYMBOLSH) $(PYFILES) $(GENERATEDENUMS:=.h) $(ASYGENERATEDENUMS)
NAME = asy
XNAME = x$(NAME)
CLEAN = camp.output base/version.asy doc/version.texi \
GUI/xasyVersion.py $(XNAME) doc/asy-latex.pdf $(SYMBOLSH)
EXTRA = asy-mode.el asy-init.el asy.vim asy_filetype.vim asy-kate.sh \
asymptote.py reload.js nopapersize.ps
EXEXTRA = piicon.png 100d.pdb1 *.views *.dat *.bib
DOCEXTRA = *.asy *.csv *.dat latexusage.tex externalprc.tex pixel.pdf
KEYWORDS = base $(ASYMPTOTE_SITEDIR)
LATEXFILES = asymptote.sty asycolors.sty latexmkrc
CONTEXTFILES = colo-asy.tex
ASY = ./asy -dir base -config "" -render=0
DEFS = -DHAVE_CONFIG_H -D_FILE_OFFSET_BIS=64 -DUSEGC -DFFTWPP_SINGLE_THREAD -Wall
CFLAGS = -g -O2 -fno-var-tracking
OPTS = $(DEFS) -I. -I$(GC)/include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/tirpc -std=c++14 $(CFLAGS) -ILspCpp/include
GLEWOPTS = $(DEFS) -I. -I$(GC)/include -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/tirpc $(CFLAGS) -DGLEW_NO_GLU -DGLEW_BUILD -O1 -fPIC
# Options for compiling the object files for the shared library.
# gc has to be configured with the option --disable-threads in order to make a
# shared library that doesn't seg fault. For now, just disable gc in the
# shared library.
SHAREDOPTS = $(filter-out -DUSEGC, $(OPTS)) -fPIC -DFOR_SHARED
CXX = g++
CC = gcc
MAKEDEPEND = $(OPTS) -O0 -M -MG -DDEPEND
LEX = flex
prefix = /home/asymptote
exec_prefix = ${prefix}
datarootdir = ${prefix}/share
bindir = $(DESTDIR)${exec_prefix}/bin
mandir = $(DESTDIR)${datarootdir}/man
infodir = $(DESTDIR)${datarootdir}/info
datadir = $(DESTDIR)${datarootdir}
asydir = $(datadir)/asymptote
GUIdir = $(asydir)/GUI
shaderdir = $(asydir)/shaders
webgldir = $(asydir)/webgl
docdir = $(DESTDIR)/home/asymptote/share/doc/asymptote
exampledir = $(docdir)/examples
animationsdir = $(exampledir)/animations
latexdir = $(DESTDIR)/usr/local/texlive/texmf-local/tex/latex/asymptote
contextdir = $(DESTDIR)/usr/local/texlive/texmf-local/tex/context/third/asymptote
INSTALL = /usr/bin/install -c
REVISION = "const char *REVISION="
last = $(shell head -1 revision.cc | sed -e 's/.*\"\(.*\)\";/\1/')
usinggit = $(shell if test -d ".git"; then echo yes; fi)
ifeq ($(usinggit),yes)
revision = $(shell LC_ALL="C" git describe --long | \
sed -e 's/git-\([0-9]*\)-g.*/-\1/' | sed -e 's/-0-g.*//')
else
revision = 2.85
endif
export prefix docdir exampledir mandir infodir INSTALL MAKE DESTDIR TEXI2DVI
asy: version $(FILES:=.o) glew.o liblspcpp.a
if test -n "$(MSDOS)"; then \
$(CXX) $(OPTS) -o $(NAME) $(FILES:=.o) revision.o asy.o $(DOSLIBS); \
else \
ln -sf GUI/xasy.py $(XNAME); \
$(CXX) $(OPTS) -o $(NAME) $(FILES:=.o) revision.o $(LIBS); \
fi
version: $(GCLIB) $(notdir $(UIFILES:.ui=.py)) icons_rc.py $(ASYGENERATEDENUMS) $(PYGENERATEDENUMS)
if test ! -s revision.cc || test "$(revision)" != "$(last)"; then \
echo $(REVISION)\"$(revision)\"\; > revision.cc; \
echo const char *AsyGLVersion=\"$(ASYGLVERSION)\"\; >> revision.cc; \
if test ! -e base/webgl/asygl.js; then \
cp base/webgl/asygl-$(ASYGLVERSION).js base/webgl/asygl.js; \
fi \
fi
$(CXX) $(OPTS) -o revision.o -c revision.cc;
echo string VERSION=\"$(revision)\"\; > base/version.asy
echo @set VERSION $(revision) > doc/version.texi
echo @set Datadir ${datarootdir} >> doc/version.texi
echo @set Docdir /home/asymptote/share/doc/asymptote >> doc/version.texi
echo "#!/usr/bin/env python3" > GUI/xasyVersion.py
echo xasyVersion = \"$(revision)\" >> GUI/xasyVersion.py
if test -n "$(MSDOS)"; then \
cat asy.rc | sed -e "s/ASYMPTOTE_VERSION/$(revision)/" | \
windres -o asy.o; \
fi
asymptote.so: $(COREFILES:=.pic.o) glew.o
$(CXX) $(OPTS) -shared -o asymptote.so revision.o $(COREFILES:=.pic.o) $(SHAREDLIBS)
liblspcpp.a:
cd LspCpp && $(CMAKE) -DCMAKE_CXX_FLAGS="-fPIE -D_FILE_OFFSET_BIS=64 -DUSEGC -I../$(GC)/include" CMakeLists.txt && $(MAKE)
all: asy sty man faq asy-keywords.el
$(GCLIB): $(GC).tar.gz
gunzip -c $(GC).tar.gz > $(GC).tar
tar -xf $(GC).tar
rm -f $(GC).tar
if test -r $(LIBATOMIC).tar.gz; then \
gunzip -c $(LIBATOMIC).tar.gz > $(LIBATOMIC).tar; \
tar -xf $(LIBATOMIC).tar; \
rm -f $(LIBATOMIC).tar; \
mv $(LIBATOMIC) $(GC)/libatomic_ops; \
fi
if test "$(GC)" = "gc-7.0"; then \
cd $(GC)/include/private && \
patch < ../../../patches/gc-7.0nomem.patch; \
fi
if test "$(GC)" = "gc-7.2b"; then \
mv gc-7.2 gc-7.2b; \
fi
if test "$(GC)" = "gc-7.2c"; then \
mv gc-7.2 gc-7.2c; \
fi
if test "$(GC)" = "gc-7.2d"; then \
mv gc-7.2 gc-7.2d; \
fi
cd $(GC) && \
./configure CC="$(CC)" CXX="$(CXX)" $(GCOPTIONS); \
$(MAKE) check
$(GCPPLIB): $(GCLIB)
sty:
cd doc && $(MAKE) asy-latex.pdf
dvi: asy sty
cd doc && $(MAKE) dvi
html: asy sty
cd doc && $(MAKE) doc
man: asy sty
cd doc && $(MAKE) man
faq: asy sty
cd doc && $(MAKE) faq
$(RUNTIME_FILES:=.cc): %.cc: runtime.pl opsymbols.h runtimebase.in %.in
$(PERL) ./runtime.pl $(@:.cc=)
$(SYMBOL_FILES:=.symbols.h): %.symbols.h: findsym.pl %.cc
$(CXX) -E -DNOSYM $(OPTS) $(@:.symbols.h=.cc) | \
$(PERL) ./findsym.pl $@ -
$(SYMBOL_FILES:=.o): %.o: %.symbols.h
allsymbols.h: findsym.pl $(SYMBOL_FILES:=.cc)
$(CXX) -E -DNOSYM $(OPTS) $(SYMBOL_FILES:=.cc) | \
$(PERL) ./findsym.pl $@ -
symbol.o: $(SYMBOLSH)
icons_rc.py: GUI/res/icons.qrc
-$(PYRCC) GUI/res/icons.qrc -o GUI/icons_rc.py
camp.tab.cc: camp.y
$(BISON) -dvt -b camp camp.y && mv camp.tab.c camp.tab.cc
camp.tab.h: camp.tab.cc
lex.yy.cc: camp.l
$(LEX) -d -olex.yy.cc camp.l
lex.yy.d: $(GCLIB) lex.yy.cc camp.tab.h
keywords.cc: keywords.pl camp.l process.cc
$(PERL) ./keywords.pl
opsymbols.h: opsymbols.pl camp.l
$(PERL) ./opsymbols.pl
envcompleter.d: keywords.cc
asy-keywords.el: asy
@echo Creating $@;
$(ASY) -l > asy.list
ls $(addsuffix /*.asy,$(KEYWORDS)) | grep -v plain\* | \
grep -v three_\* | grep -v featpost3D | xargs $(ASY) -l >> asy.list
$(PERL) ./asy-list.pl asy.list $(revision)
install-notexhash: asy-keywords.el install-asy install-man
install: install-notexhash install-texhash
install-all: install install-html
install-texhash: install-asy
-if test -z "$(DESTDIR)"; then \
texhash; \
fi
install-asy: asy sty
${INSTALL} -d $(bindir) $(asydir) $(exampledir) $(animationsdir)
${INSTALL} -d $(GUIdir) $(GUIdir)/pyUIClass $(GUIdir)/configs \
$(GUIdir)/res $(GUIdir)/res/icons $(shaderdir) \
$(webgldir)
-${INSTALL} -d $(latexdir)
-${INSTALL} -d $(contextdir)
${INSTALL} -p -m 755 $(NAME) $(bindir)
${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) \
asy-keywords.el $(asydir)
${INSTALL} -p -m 755 GUI/*.py $(GUIdir)
${INSTALL} -p -m 755 base/shaders/*.glsl $(shaderdir)
${INSTALL} -p -m 644 base/webgl/asygl.js \
$(webgldir)
-${INSTALL} -p -m 644 GUI/pyUIClass/*.py $(GUIdir)/pyUIClass
${INSTALL} -p -m 644 GUI/configs/*.cson $(GUIdir)/configs
-${INSTALL} -p -m 644 GUI/icons_rc.py $(GUIdir)
${INSTALL} -p -m 644 GUI/res/icons/*.svg $(GUIdir)/res/icons
ln -sf ${datarootdir}/asymptote/GUI/xasy.py $(bindir)/$(XNAME)
${INSTALL} -p -m 644 examples/*.asy $(addprefix examples/,$(EXEXTRA)) \
doc/extra/*.asy $(addprefix doc/,$(DOCEXTRA)) $(exampledir)
${INSTALL} -p -m 644 examples/animations/*.asy \
examples/animations/inlinemovie.tex \
examples/animations/inlinemovie3.tex $(animationsdir)
-${INSTALL} -p -m 644 $(addprefix doc/,$(LATEXFILES)) $(latexdir)
-${INSTALL} -p -m 644 $(addprefix doc/,$(CONTEXTFILES)) $(contextdir)
install-html: html
cd doc && $(MAKE) install-all
install-man: man
cd doc && $(MAKE) install
install-prebuilt: install-asy
cd doc && $(MAKE) install-prebuilt
uninstall: uninstall-all
uninstall-all: uninstall-man uninstall-asy uninstall-docdir
uninstall-asy:
-cd $(animationsdir) && rm -f *.asy *.tex
-rmdir $(animationsdir)
-cd $(exampledir) && rm -f $(EXEXTRA) $(DOCEXTRA)
-rmdir $(exampledir)
-cd $(GUIdir) && rm -f *.py
-cd $(GUIdir)/pyUIClass && rm -f *.py
-rmdir $(GUIdir)/pyUIClass
-cd $(GUIdir)/configs && rm -f *.cson
-rmdir $(GUIdir)/configs
-cd $(GUIdir)/res/icons && rm -f *.svg
-rmdir $(GUIdir)/res/icons
-cd $(GUIdir) && rm -f icons_rc.py
-rmdir $(GUIdir)/res
-rmdir $(GUIdir)
-cd $(shaderdir) && rm -f *.glsl
-rmdir $(shaderdir)
-cd $(webgldir) && rm -f *.html *.js
-rmdir $(webgldir)
-cd $(asydir) && rm -f asy-keywords.el *.asy $(EXTRA)
-rmdir $(asydir)
-cd $(latexdir) && rm -f $(LATEXFILES)
-rmdir $(latexdir)
-cd $(contextdir) && rm -f $(CONTEXTFILES)
-rmdir $(contextdir)
-cd $(bindir) && rm -f $(NAME) $(XNAME)
uninstall-man:
cd doc && $(MAKE) uninstall
uninstall-docdir:
-rmdir $(docdir)
clean: FORCE
-rm -f asy asymptote.so *.pic.o *.o *.d *mon.out $(CLEAN)
-cd LspCpp && $(MAKE) clean
gc-clean: FORCE clean
-if test -d $(GC); then \
$(MAKE) -C $(GC) clean; \
fi
cleaner: FORCE clean
-if test -d $(GC); then \
rm -rf $(GC); \
fi
-rm -f Makefile config.h config.log config.status errors.temp
cd doc && $(MAKE) clean
cd tests && $(MAKE) distclean
distclean: FORCE cleaner
cd doc && $(MAKE) distclean
cd LspCpp && rm -rf CMakeCache.txt CMakeDoxyfile.in \
CMakeDoxygenDefaults.cmake CMakeFiles Makefile cmake_install.cmake \
third_party/uri/src/CMakeFiles/network-uri.dir/detail
cleanest: FORCE maintainer-clean
maintainer-clean: FORCE distclean
-rm -f configure config.h.in $(DIST)
-rm -rf autom4te.cache
-rm -rf GUI/pyUIClass
test: asy FORCE
./wce
$(MAKE) -C tests
check: test
check-all: asy FORCE
./wce
$(MAKE) -C tests all
glew.o: glew.c GL/glew.h GL/glew.c config.h
$(CC) -I. $(GLEWOPTS) -o glew.o -c glew.c
.SUFFIXES: .c .cc .o .d .ui .py
%.o: %.cc $(GENERATEDENUMS:=.h) $(RUNTIME_FILES:=.cc)
$(CXX) $(OPTS) -o $@ -c $<
%.d: %.cc $(GENERATEDENUMS:=.h) $(GCLIB)
@echo Creating $@; \
rm -f $@; \
${CXX} $(MAKEDEPEND) $(MDOPTS) $< > $@.$$$$ 2>/dev/null && \
sed 's,\($*\)\.o[ :]*,\1.o \1.pic.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
%.d: %.c
@echo Creating $@; \
rm -f $@; \
${CC} $(MAKEDEPEND) $(MDOPTS) $< > $@.$$$$ 2>/dev/null && \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
%.py: %.ui
mkdir -p GUI/pyUIClass
-$(PYUIC) -o GUI/pyUIClass/$(notdir $@) $<
# Compile for the shared library. OpenGL must be disabled as it causes
# crashes inside a shared library.
%.pic.o: %.cc
$(CXX) $(SHAREDOPTS) -o $@ -c $<
# Generate V3D headers
%.h: %.csv generate_enums.py $(GENERATEDENUMS:=.csv)
$(PYTHON) generate_enums.py -language cxx -o $@ -i $< -name $(notdir $*) -xopt namespace=camp
base/%.asy: %.csv generate_enums.py $(GENERATEDENUMS:=.csv)
$(PYTHON) generate_enums.py -language asy -o $@ -i $< -name $(notdir $*)
%.py: %.csv generate_enums.py $(GENERATEDENUMS:=.csv)
$(PYTHON) generate_enums.py -language python -o $@ -i $< -name $(notdir $*)
ifeq (,$(findstring clean,${MAKECMDGOALS}))
-include $(FILES:=.d)
endif
FORCE:
configure: configure.ac
autoheader && autoconf
Makefile: Makefile.in config.status
./config.status
config.status: configure
./config.status --recheck
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#18 Le 08/03/2023, à 16:26
- gl38
Re : Installer asymptote 2.85
Es-tu sûr d'avoir installé le paquet ligsl?? où ?? est le numéro qui va avec ton ubuntu ?
Si oui, je crois qu'il faut recommencer à taper
make clean
./configure
make all
ça doit donner un asy exécutable.
Que donne alors
./asy --version
Cordialement,
Guy
Hors ligne
#19 Le 08/03/2023, à 16:30
- zariski
Re : Installer asymptote 2.85
il me semble puisqu'en tapant dpkg --list j'obtiens
ii libgsl27:amd64 2.7.1+dfsg-3 amd64 GNU Scientifi>
ii libgslcblas0:amd64 2.7.1+dfsg-3 amd64 GNU Scientifi>
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#20 Le 08/03/2023, à 16:56
- gl38
Re : Installer asymptote 2.85
et le libgsl-dev est bien là ?
Hors ligne
#21 Le 08/03/2023, à 17:31
- zariski
Re : Installer asymptote 2.85
Alors effectivement j'ai installé "libgsl-dev" qui n'y était pas ... oups
Cependant, suite à
./config --prefix=$HOME/asymptote
make all
j'obtiens ceci qui empêche l'installation :
glrender.cc: In function ‘bool gl::NVIDIA()’:
glrender.cc:1899:43: error: ‘GL_SHADING_LANGUAGE_VERSION’ was not declared in this scope
1899 | char *GLSL_VERSION=(char *) glGetString(GL_SHADING_LANGUAGE_VERSION);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
glrender.cc:1899:31: error: ‘glGetString’ was not declared in this scope
1899 | char *GLSL_VERSION=(char *) glGetString(GL_SHADING_LANGUAGE_VERSION);
| ^~~~~~~~~~~
glrender.cc: In function ‘void gl::glrender(const mem::string&, const camp::picture*, const mem::string&, double, double, double, double, const camp::triple&, const camp::triple&, const camp::pair&, const camp::pair&, double*, double*, size_t, camp::triple*, double*, double*, bool, int)’:
glrender.cc:1911:17: error: ‘lasttime’ was not declared in this scope; did you mean ‘asctime’?
1911 | gettimeofday(&lasttime,NULL);
| ^~~~~~~~
| asctime
make: *** [Makefile:384 : glrender.o] Erreur 1
Il doit encore manquer un truc ... pfiouuuuu.
Au passage je vous remercie pour votre patience: )
Dernière modification par zariski (Le 08/03/2023, à 17:33)
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#22 Le 08/03/2023, à 18:27
- zariski
Re : Installer asymptote 2.85
J'ai installé aussi "freeglut-dev" puis relancer
./configure --prefix=$HOME/asymptote
make all
make install
et là MIRACLE
Asymptote version 2.85 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
ENABLED OPTIONS:
V3D 3D vector graphics output
WebGL 3D HTML rendering
OpenGL 3D OpenGL rendering
SSBO GLSL shader storage buffer objects
GSL GNU Scientific Library (special functions)
XDR External Data Representation (portable binary file format for V3D)
LSP Language Server Protocol
Readline Interactive history and editing
GC Boehm garbage collector
threads Render OpenGL in separate thread
DISABLED OPTIONS:
FFTW3 Fast Fourier transforms
Eigen Eigenvalue library
CURL URL support
Sigsegv Distinguish stack overflows from segmentation faults
Bon dans tous ce charabia il y avait encore des erreurs je pense, mais à priori cela fonctionne avec texmaker entre autre.
Entre temps j'ai indiqué le chemin vers asymptote-2.85 en faisant
sudo gedit /etc/environment
et en tapant la ligne suivante :
"/home/eric/asymptote/bin: ..."
Ma question est donc la suivante : est-ce que j'ai tout bon svp ? ou manque-t-il une procédure que seul un gourou de linux connaisse ?
De plus pour récapituler les étapes nécessaires à cette installation hors dépôts :
sudo apt-get install libgsl-dev freeglut-dev
puis je télécharge : "asymptote-2.85.src.tgz"
j'extrais :
tar -xf asymptote-2.85.src.tgz
je vais dans le répertoire d'extraction :
cd ~/Téléchargements/asymptote-2.85
puis je tape
./configure --prefix=$HOME/asymptote
puis
make all
et enfin
make install
J'ai lu qu'il était préférable d'installer des logiciels hors dépôts dans un dossier particulier, en l'occurence pour moi "/home/eric" afin de ne point casser Ubuntu. Ai-je bien lu ?
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#23 Le 08/03/2023, à 20:29
- gl38
Re : Installer asymptote 2.85
Bon, c'est pas mal si ça marche.
Il y a quand même un truc contrariant : c'est que tu as installé une version non LTS la 22.10 qui a une durée de suivi assez courte, la 22.04 est suivie pendant 3 ans, au lieu de 6 mois.
Cela t'obligera à recompiler lors du changement de version (23.04 et on y est presque !).
Tout ça m'a rappelé ma jeunesse, avec la topologie de Zariski...
Cordialement,
Guy
Hors ligne
#24 Le 08/03/2023, à 21:03
- zariski
Re : Installer asymptote 2.85
Ah mince ! Bon ben j en apprends une de plus... la version LTS. Décidément je ne vivrai pas assez vieux pour connaître l essentiel de Linux.
Sinon mon pseudo est effectivement un clin d oeil à la dite topologie... matière qui m a bien, elle aussi, donné des migraines.
Je tiens à vous remercier pour vos conseils bienveillants. Sinon j hésite à indiquer "résolu" car je vais changer ma version ubuntu, comme cela je verrai si le process indiqué précédemment fonctionne... Voilà, je vous souhaite une excellente soirée.
PS: j imagine que grosso modo l install de logiciels hors dépôt s effectue comme mon asymptote 2.85...
Intel i7 - 8700 CPU - 3.2 GHz - 16 Go de ram
Carte graphique : NVIDIA GeForce GTX 1060 6 GB
Linux 22.10
Hors ligne
#25 Le 09/03/2023, à 08:07
- gl38
Re : Installer asymptote 2.85
Heureusement, l'installation d'un logiciel externe est la plupart du temps plus simple. Souvent il suffit d'installer un seul fichier et on n'a pas de compilation à faire !
Les versions LTS ont une vie plus longue. Les changements de version d'ubuntu ne se passent pas toujours très bien comme on peut le voir sur ce forum.
Bonne continuation sur Ubuntu.
Cordialement,
Guy
Hors ligne