Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-25-2012, 11:18 AM
|
#1
|
|
Senior Member
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,905
Rep:
|
phc (php compiler) - How to compile on kubuntu precise
Hi!
I'm trying to compile phc on precise. Apparently, the packaged php that comes with ubuntu is lacking --enable-embed option so I decided to compile php myself by hand (so not to bust the apache installation ad stuff) and use this compiled php with phc to see what to do next.
I compiled php successfully with the --enable-embed option. I ended up with this:
Code:
$ pwd
/home/antoranz/Descargas/php/php-5.4.3
antoranz@pingui:~/Descargas/php/php-5.4.3$ find ./ -iname php
./sapi/cli/php
antoranz@pingui:~/Descargas/php/php-5.4.3$
Now, when I try to compile phc, I tell it to use the php base path (the one from pwd you saw before), the sapi and the cli directories but with any of them phc says that it didn't include the --enable-embed option. What am I missing?
Code:
.
.
.
.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING:
*******************************************************************************
* It seems the PHP embed SAPI has not been installed. *
* *
* You will be able to compile and run phc, but you will not be able to *
* compile PHP scripts with phc. *
* *
* To install the PHP embed SAPI, follow the PHP installation instructions, *
* but make sure to pass the --enable-embed option to the PHP configure *
* script. *
*******************************************************************************
Thanks in advance.
|
|
|
|
05-25-2012, 11:25 AM
|
#2
|
|
Senior Member
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,905
Original Poster
Rep:
|
phpconfig from compiled php
Code:
PHP Version => 5.4.3
System => Linux pingui 3.2.0-24-generic-pae #39-Ubuntu SMP Mon May 21 18:54:21 UTC 2012 i686
Build Date => May 25 2012 10:49:02
Configure Command => './configure' '--enable-embed'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => (none)
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20100412
PHP Extension => 20100525
Zend Extension => 220100525
Zend Extension Build => API220100525,NTS
PHP Extension Build => API20100525,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
DTrace Support => disabled
Registered PHP Streams => php, file, glob, data, http, ftp, phar
Registered Stream Socket Transports => tcp, udp, unix, udg
Registered Stream Filters => convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
_______________________________________________________________________
Configuration
Core
PHP Version => 5.4.3
Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20100525 => /usr/local/lib/php/extensions/no-debug-non-zts-20100525
file_uploads => On => On
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/local/lib/php => .:/usr/local/lib/php
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 17 => 17
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.detect_unicode => On => On
zend.enable_gc => On => On
zend.multibyte => Off => Off
zend.script_encoding => no value => no value
ctype
ctype functions => enabled
date
date/time support => enabled
"Olson" Timezone Database Version => 2012.2
Timezone Database => internal
Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in - on line 2
Default timezone => UTC
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value
dom
DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.7.8
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled
ereg
Regex Library => Bundled library enabled
fileinfo
fileinfo support => enabled
version => 1.0.5
filter
Input Validation and Filtering => enabled
Revision => $Id: e523cdc8829892d1b4f9cb7c3c57b2ba1c36b9ea $
Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value
hash
hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b fnv132 fnv164 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.15
Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1
json
json support => enabled
json version => 1.2.1
libxml
libXML support => active
libXML Compiled Version => 2.7.8
libXML Loaded Version => 20708
libXML streams => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 8.12 2011-01-15
Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.recursion_limit => 100000 => 100000
PDO
PDO support => enabled
PDO drivers => sqlite
pdo_sqlite
PDO Driver for SQLite 3.x => enabled
SQLite Library => 3.7.7.1
Phar
Phar: PHP Archive support => enabled
Phar EXT version => 2.0.1
Phar API version => 1.1.1
SVN revision => $Id: 2a47d3d0354109d8077e34d59f1228ccfd021d59 $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => disabled (install ext/zlib)
bzip2 compression => disabled (install pecl/bz2)
OpenSSL support => disabled (install ext/openssl)
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On
posix
Revision => $Id: 967584c6fadb3467f31abe8e13caa8764df85867 $
Reflection
Reflection => enabled
Version => $Id: 1cf65cee164ed57874ce2d29e5c46b82f6139524 $
session
Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php php_binary
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => /dev/urandom => /dev/urandom
session.entropy_length => 32 => 32
session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.upload_progress.cleanup => On => On
session.upload_progress.enabled => On => On
session.upload_progress.freq => 1% => 1%
session.upload_progress.min_freq => 1 => 1
session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix => upload_progress_ => upload_progress_
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_trans_sid => 0 => 0
SimpleXML
Simplexml support => enabled
Revision => $Id: 455280fc74f9f002b7314def7a456f6c3080eb92 $
Schema support => enabled
SPL
SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
sqlite3
SQLite3 support => enabled
SQLite3 module version => 0.7
SQLite Library => 3.7.7.1
Directive => Local Value => Master Value
sqlite3.extension_dir => no value => no value
standard
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
from => no value => no value
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
tokenizer
Tokenizer Support => enabled
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.7.8
xmlreader
XMLReader => enabled
xmlwriter
XMLWriter => enabled
Additional Modules
Module Name
Environment
Variable => Value
SSH_AGENT_PID => 1743
KDE_MULTIHEAD => false
DM_CONTROL => /var/run/xdmctl
SHELL => /bin/bash
TERM => xterm
XDG_SESSION_COOKIE => 1161820e159aee7a5de3afd10000000c-1337952288.772236-21644668
XDM_MANAGED => method=classic
GTK2_RC_FILES => /etc/gtk-2.0/gtkrc:/home/antoranz/.gtkrc-2.0:/home/antoranz/.gtkrc-2.0-kde4:/home/antoranz/.kde/share/config/gtkrc-2.0
KONSOLE_DBUS_SERVICE => :1.46
GS_LIB => /home/antoranz/.fonts
GTK_RC_FILES => /etc/gtk/gtkrc:/home/antoranz/.gtkrc:/home/antoranz/.kde/share/config/gtkrc
WINDOWID => 52428837
OLDPWD => /home/antoranz/Descargas/php/phc-0.3.0.1
SHELL_SESSION_ID => 2643d9957ed4400097424432ebf6214b
GTK_MODULES => canberra-gtk-module
KDE_FULL_SESSION => true
http_proxy => plata.cps.local:8080
USER => antoranz
LS_COLORS => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
SSH_AUTH_SOCK => /tmp/ssh-KMeXJzaP1595/agent.1595
SESSION_MANAGER => local/pingui:@/tmp/.ICE-unix/1999,unix/pingui:/tmp/.ICE-unix/1999
DEFAULTS_PATH => /usr/share/gconf/default.default.path
XDG_CONFIG_DIRS => /etc/xdg/xdg-default:/etc/xdg
DESKTOP_SESSION => default
PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD => /home/antoranz/Descargas/php/php-5.4.3
KDE_SESSION_UID => 1000
LANG => en_US.UTF-8
MANDATORY_PATH => /usr/share/gconf/default.mandatory.path
UBUNTU_MENUPROXY => libappmenu.so
KONSOLE_DBUS_SESSION => /Sessions/4
HOME => /home/antoranz
COLORFGBG => 15;0
SHLVL => 1
KDE_SESSION_VERSION => 4
LANGUAGE =>
XCURSOR_THEME => default
LOGNAME => antoranz
XDG_DATA_DIRS => /usr/share/default:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS => unix:abstract=/tmp/dbus-05Ahqly7HM,guid=181415a7d5b5d5bf058285190000001f
LESSOPEN => | /usr/bin/lesspipe %s
WINDOWPATH => 7
PROFILEHOME =>
DISPLAY => :0
QT_PLUGIN_PATH => /home/antoranz/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
LESSCLOSE => /usr/bin/lesspipe %s %s
_ => ./sapi/cli/php
PHP Variables
Variable => Value
_SERVER["SSH_AGENT_PID"] => 1743
_SERVER["KDE_MULTIHEAD"] => false
_SERVER["DM_CONTROL"] => /var/run/xdmctl
_SERVER["SHELL"] => /bin/bash
_SERVER["TERM"] => xterm
_SERVER["XDG_SESSION_COOKIE"] => 1161820e159aee7a5de3afd10000000c-1337952288.772236-21644668
_SERVER["XDM_MANAGED"] => method=classic
_SERVER["GTK2_RC_FILES"] => /etc/gtk-2.0/gtkrc:/home/antoranz/.gtkrc-2.0:/home/antoranz/.gtkrc-2.0-kde4:/home/antoranz/.kde/share/config/gtkrc-2.0
_SERVER["KONSOLE_DBUS_SERVICE"] => :1.46
_SERVER["GS_LIB"] => /home/antoranz/.fonts
_SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/home/antoranz/.gtkrc:/home/antoranz/.kde/share/config/gtkrc
_SERVER["WINDOWID"] => 52428837
_SERVER["OLDPWD"] => /home/antoranz/Descargas/php/phc-0.3.0.1
_SERVER["SHELL_SESSION_ID"] => 2643d9957ed4400097424432ebf6214b
_SERVER["GTK_MODULES"] => canberra-gtk-module
_SERVER["KDE_FULL_SESSION"] => true
_SERVER["http_proxy"] => plata.cps.local:8080
_SERVER["USER"] => antoranz
_SERVER["LS_COLORS"] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
_SERVER["SSH_AUTH_SOCK"] => /tmp/ssh-KMeXJzaP1595/agent.1595
_SERVER["SESSION_MANAGER"] => local/pingui:@/tmp/.ICE-unix/1999,unix/pingui:/tmp/.ICE-unix/1999
_SERVER["DEFAULTS_PATH"] => /usr/share/gconf/default.default.path
_SERVER["XDG_CONFIG_DIRS"] => /etc/xdg/xdg-default:/etc/xdg
_SERVER["DESKTOP_SESSION"] => default
_SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
_SERVER["PWD"] => /home/antoranz/Descargas/php/php-5.4.3
_SERVER["KDE_SESSION_UID"] => 1000
_SERVER["LANG"] => en_US.UTF-8
_SERVER["MANDATORY_PATH"] => /usr/share/gconf/default.mandatory.path
_SERVER["UBUNTU_MENUPROXY"] => libappmenu.so
_SERVER["KONSOLE_DBUS_SESSION"] => /Sessions/4
_SERVER["HOME"] => /home/antoranz
_SERVER["COLORFGBG"] => 15;0
_SERVER["SHLVL"] => 1
_SERVER["KDE_SESSION_VERSION"] => 4
_SERVER["LANGUAGE"] =>
_SERVER["XCURSOR_THEME"] => default
_SERVER["LOGNAME"] => antoranz
_SERVER["XDG_DATA_DIRS"] => /usr/share/default:/usr/local/share/:/usr/share/
_SERVER["DBUS_SESSION_BUS_ADDRESS"] => unix:abstract=/tmp/dbus-05Ahqly7HM,guid=181415a7d5b5d5bf058285190000001f
_SERVER["LESSOPEN"] => | /usr/bin/lesspipe %s
_SERVER["WINDOWPATH"] => 7
_SERVER["PROFILEHOME"] =>
_SERVER["DISPLAY"] => :0
_SERVER["QT_PLUGIN_PATH"] => /home/antoranz/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
_SERVER["LESSCLOSE"] => /usr/bin/lesspipe %s %s
_SERVER["_"] => ./sapi/cli/php
_SERVER["PHP_SELF"] => -
_SERVER["SCRIPT_NAME"] => -
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME_FLOAT"] => 1337963028.68
_SERVER["REQUEST_TIME"] => 1337963028
_SERVER["argv"] => Array
(
[0] => -
)
_SERVER["argc"] => 1
_ENV["SSH_AGENT_PID"] => 1743
_ENV["KDE_MULTIHEAD"] => false
_ENV["DM_CONTROL"] => /var/run/xdmctl
_ENV["SHELL"] => /bin/bash
_ENV["TERM"] => xterm
_ENV["XDG_SESSION_COOKIE"] => 1161820e159aee7a5de3afd10000000c-1337952288.772236-21644668
_ENV["XDM_MANAGED"] => method=classic
_ENV["GTK2_RC_FILES"] => /etc/gtk-2.0/gtkrc:/home/antoranz/.gtkrc-2.0:/home/antoranz/.gtkrc-2.0-kde4:/home/antoranz/.kde/share/config/gtkrc-2.0
_ENV["KONSOLE_DBUS_SERVICE"] => :1.46
_ENV["GS_LIB"] => /home/antoranz/.fonts
_ENV["GTK_RC_FILES"] => /etc/gtk/gtkrc:/home/antoranz/.gtkrc:/home/antoranz/.kde/share/config/gtkrc
_ENV["WINDOWID"] => 52428837
_ENV["OLDPWD"] => /home/antoranz/Descargas/php/phc-0.3.0.1
_ENV["SHELL_SESSION_ID"] => 2643d9957ed4400097424432ebf6214b
_ENV["GTK_MODULES"] => canberra-gtk-module
_ENV["KDE_FULL_SESSION"] => true
_ENV["http_proxy"] => plata.cps.local:8080
_ENV["USER"] => antoranz
_ENV["LS_COLORS"] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
_ENV["SSH_AUTH_SOCK"] => /tmp/ssh-KMeXJzaP1595/agent.1595
_ENV["SESSION_MANAGER"] => local/pingui:@/tmp/.ICE-unix/1999,unix/pingui:/tmp/.ICE-unix/1999
_ENV["DEFAULTS_PATH"] => /usr/share/gconf/default.default.path
_ENV["XDG_CONFIG_DIRS"] => /etc/xdg/xdg-default:/etc/xdg
_ENV["DESKTOP_SESSION"] => default
_ENV["PATH"] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
_ENV["PWD"] => /home/antoranz/Descargas/php/php-5.4.3
_ENV["KDE_SESSION_UID"] => 1000
_ENV["LANG"] => en_US.UTF-8
_ENV["MANDATORY_PATH"] => /usr/share/gconf/default.mandatory.path
_ENV["UBUNTU_MENUPROXY"] => libappmenu.so
_ENV["KONSOLE_DBUS_SESSION"] => /Sessions/4
_ENV["HOME"] => /home/antoranz
_ENV["COLORFGBG"] => 15;0
_ENV["SHLVL"] => 1
_ENV["KDE_SESSION_VERSION"] => 4
_ENV["LANGUAGE"] =>
_ENV["XCURSOR_THEME"] => default
_ENV["LOGNAME"] => antoranz
_ENV["XDG_DATA_DIRS"] => /usr/share/default:/usr/local/share/:/usr/share/
_ENV["DBUS_SESSION_BUS_ADDRESS"] => unix:abstract=/tmp/dbus-05Ahqly7HM,guid=181415a7d5b5d5bf058285190000001f
_ENV["LESSOPEN"] => | /usr/bin/lesspipe %s
_ENV["WINDOWPATH"] => 7
_ENV["PROFILEHOME"] =>
_ENV["DISPLAY"] => :0
_ENV["QT_PLUGIN_PATH"] => /home/antoranz/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
_ENV["LESSCLOSE"] => /usr/bin/lesspipe %s %s
_ENV["_"] => ./sapi/cli/php
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
---------- Post added 05-25-12 at 01:26 PM ----------
and right at the beginning we see:
Code:
Configure Command => './configure' '--enable-embed'
|
|
|
|
05-25-2012, 12:18 PM
|
#3
|
|
Senior Member
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,905
Original Poster
Rep:
|
Well.... I think I nailed the php detection problem. I had to actually "install" php then I could point phc to php's directory (I thought I could use the directory where the compilation takes place).
Now I'm facing another problem with libbost, I think:
Code:
checking for maketea... config/phc_missing maketea
checking for php... /usr/local/php/bin/php
checking for zend_eval_string in -lphp5... yes
checking for sapi/embed/php_embed.h... yes
checking whether compiler supports covariant returns... yes
checking for /usr/lib/libCrun.so.1... no
checking for boostlib >= 1.35.0... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex-mt... no
checking for exit in -lboost_regex-mt... (cached) no
checking for exit in -lboost_regex... no
checking for exit in -lboost_regex... (cached) no
checking for exit in -lboost_regex... (cached) no
configure: error: Could not link against boost_regex !
I installed libboost-all-dev so why am I seeing this?
|
|
|
|
05-25-2012, 03:20 PM
|
#4
|
|
Senior Member
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,905
Original Poster
Rep:
|
I found this thread and from there I was able to solve the boost-regex detection issue. Hope it works for you.
http://code.google.com/p/phc/issues/detail?id=135
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:33 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|