mgallet@rork:~/simulation/Math-GLPK-Solve-0.05$ perl Makefile.PL
Using default GLPK_VERSION=4.8
You can override the default selection by issuing 'GLPK_VERSION=<your_GLPK_VERSION> perl Makefile.PL'
Copy: include/Solve.pm.4.8 -> Solve.pm
Copy: include/GLPK_wrap.c.4.8 -> GLPK_wrap.c
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lglpk
Writing Makefile for Math::GLPK::Solveje précise que j'ai bien dans /home/lyon/mgallet/local/lib libglpka.a et mon LD_INCLUDE_PATH contient bien ce dossier
mgallet@rork:~/simulation/Math-GLPK-Solve-0.05$ make
cp Solve.pm blib/lib/Math/GLPK/Solve.pm
cp Solve.pod blib/lib/Math/GLPK/Solve.pod
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib/perl/5.8/CORE" GLPK_wrap.c
GLPK_wrap.c: In function 'lpx_read_lpt':
GLPK_wrap.c:865: warning: passing argument 1 of '__croak_if_API_mismatch' discards qualifiers from pointer target type
GLPK_wrap.c: In function 'lpx_write_lpt':
GLPK_wrap.c:869: warning: passing argument 1 of '__croak_if_API_mismatch' discards qualifiers from pointer target type
Running Mkbootstrap for Math::GLPK::Solve ()
chmod 644 Solve.bs
rm -f blib/arch/auto/Math/GLPK/Solve/Solve.so
cc -shared -L/usr/local/lib GLPK_wrap.o -o blib/arch/auto/Math/GLPK/Solve/Solve.so \
\
chmod 755 blib/arch/auto/Math/GLPK/Solve/Solve.so
cp Solve.bs blib/arch/auto/Math/GLPK/Solve/Solve.bs
chmod 644 blib/arch/auto/Math/GLPK/Solve/Solve.bs
Manifying blib/man3/Math::GLPK::Solve.3pm
mgallet@rork:~/simulation/Math-GLPK-Solve-0.05$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..2
not ok 1 - use Math::GLPK::Solve;
# Failed test 'use Math::GLPK::Solve;'
# in test.pl at line 9.
# Tried to use 'Math::GLPK::Solve'.
# Error: Can't load 'blib/arch/auto/Math/GLPK/Solve/Solve.so' for module Math::GLPK::Solve: blib/arch/auto/Math/GLPK/Solve/Solve.so: undefined symbol: glp_lpx_get_col_ub at /usr/lib/perl/5.8/DynaLoader.pm line 225.
# at blib/lib/Math/GLPK/Solve.pm line 8
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at test.pl line 9.
Global symbol "$LPX_MAX" requires explicit package name at test.pl line 16.
Global symbol "$LPX_UP" requires explicit package name at test.pl line 20.
Global symbol "$LPX_UP" requires explicit package name at test.pl line 22.
Global symbol "$LPX_UP" requires explicit package name at test.pl line 24.
Global symbol "$LPX_LO" requires explicit package name at test.pl line 28.
Global symbol "$LPX_LO" requires explicit package name at test.pl line 31.
Global symbol "$LPX_LO" requires explicit package name at test.pl line 34.
Global symbol "$LPX_OPT" requires explicit package name at test.pl line 85.
Execution of test.pl aborted due to compilation errors.
# Looks like you planned 2 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
make: *** [test_dynamic] Error 255pourtant,
mgallet@rork:~/simulation/Math-GLPK-Solve-0.05$ ls -al blib/arch/auto/Math/GLPK/Solve/ total 204 drwxr-xr-x 2 mgallet lyon 4096 May 10 15:53 . drwxr-xr-x 3 mgallet lyon 4096 May 10 15:52 .. -rw-r--r-- 1 mgallet lyon 0 May 10 15:52 .exists -rw-r--r-- 1 mgallet lyon 0 May 10 15:53 Solve.bs -rwxr-xr-x 1 mgallet lyon 193018 May 10 15:53 Solve.so
c'est sur un gros cluster
et le problème, c'est que j'ai accès en ssh, mais c'est tout. Pas moyen d'avoir au net à partir de cette machine :/ (même pas à partir de la frontale, les nœuds de calcul, on n'y a même pas accès directement en ssh)


