Visualizzazione dei risultati da 1 a 6 su 6

Discussione: configure lp_solve

  1. #1
    Utente di HTML.it
    Registrato dal
    Jan 2009
    Messaggi
    70

    configure lp_solve

    Salve ragazzi sto cercando di installare lp_solve per php su un server ubuntu, ma ho molti problemi e quindi chiedo il vostro aiuto,
    il mio primo tentativo è stato quello di scaricarmi il file .so , e andare a modificare il file php.ini, con extension=liblp.........so
    ma non ha funzionato, a questo punto ho deciso di seguire una guida che potete trovare qui:http://imil.au.edu.tw/blog1/index.php?catid=21, ma quando do il comando "./configure --enable-maintainer-zts--with--phplpsolve55=../..
    " ottengo questi errrri:
    configure: WARNING: unrecognized options: --enable-maintainer-zts--with--phplpsolve55
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
    checking for PHP extension directory... /usr/lib/php5/20090626
    checking for PHP installed headers prefix... /usr/include/php5
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking lpsolve 5.5
    with-phplpsolve55=Insert path to lp_solve here Include lpsolve Support... yes, shared
    configure: error: lp_lib.h not found

    qualcuno mi puo iutare? sto impazzendo

  2. #2
    c'e' un pacchetto: lp-solve

    non va bene?

  3. #3
    Utente di HTML.it
    Registrato dal
    Jan 2009
    Messaggi
    70
    scusa ma non ho capito la tua domanda......

  4. #4
    per installare il pacchetto che c'e' nei repository:


    sudo apt-get install lp-solve

  5. #5
    Utente di HTML.it
    Registrato dal
    Jan 2009
    Messaggi
    70
    gia l'ho fatto ma purtroppo poi non funziona, mi spiego meglio, una volta installato il pacchetto se vado a dire a php di prendersi quell'estensione modificando il php.ini, lui non lo fa e non capisco il perchè, quindi ho pensato di compilare io la libreria seguendo la guida che ho linkato nel mio primo post

  6. #6
    e' la stessa di qui?

    http://jeyroz.tumblr.com/post/605709794/lpsolve-php


    prova a ripeterla... puoi aver saltato qualcosa o decompresso nel posto sbagliato

    non trova lp_lib.h

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.