PHP 5.2.10 Fehler beim Paketbau (libphp5.so)

FuPe

New Member
Hallo mal in die Runde,
also ich habe Folgendes Problem:
ich bin gerade dabei die "neue" PHP Version 5.2.10 als Debian .deb Paket zu bauen. Was auch an und für sich kein Probelm war nur habe ich dabei ein Problem und zwar dass wenn ich mein Paket installiere tut er das zwar nur ist es nicht möglich die info.php anzuzeigen sondern nur herunterzuladen. Also wo Grundsätzlich der Fehler liegt weis ich nämlich am fehlenden PHP Modul "libphp5.so". Meine Frage ist also wie erstelle ich dieses Modul beim Kompillieren? oder wird das Modul erst bei meinem make install aufruf erzeugt? bzw wie bekomme ich das son eingebaut dass es sich automatisch installiert?
damit man was mit dem Post anfangen kann hier ich hoffe mal die wichtigsten Grundkonfiguretionen:
das System:
Code:
uname -a
Linux client 2.6.26-2-amd64 #1 SMP Thu May 28 21:28:49 UTC 2009 x86_64 GNU/Linux/
meine ./configure aufruf
Code:
./configure --with-apxs2=/usr/bin/apxs2 --with-apache2 --with-config-file-path=/etc/php5 --enable-cli --with-pear --with-mysql --with-config-file=/etc/php5/php.ini --with-config-file-path=/etc/php5/ --with-mysql --with-openssl --with-pdo-mysql --with-xsl --with-gd --enable-suhosin --enable-fastcgi --enable-force-cgi-redirect --with-regex=php
danach habe ich dann ein make aufruf gestartet der auch wunderbar durchlief. Den make install brauche ich nun nicht mehr da ich sofort mit dem dh_make die sogenannte "debianiesierung" gemacht habe um letzenendes mit einem dpkg-buildpackage -us -uc -a ein .deb Paket zu bekommen welches sich mittels dpkg -i <Packetname> auch wunderbar installieren lässt.
nun fehlt noch der Moduleintrag also die httpd.conf:
Code:
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps

#LoadModule directive to aid module installations
#LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

#Action application/x-httpd-php "/php/php5"
Einträge gesetzt. ich konnte das a2enmod nicht setzen weil entweder ist das Modul nicht vorhanden oder er hat es mir woanders abgelegt. es kommt dann folgende Fehlermeldungbeim restart des apaches:
Code:
Restarting web server: apache2We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! (warning).
 ... waiting apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Syntax error on line 6 of /etc/apache2/httpd.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
wie gesagt dass das ganze wohl an dem Modul libphp5.so liegt ist mir klar nur ich bräuchte entweder Hilfe dabei es zu finden oder richtig reinzukompillieren oder was auch immer damit zu tun ist. :)

falls ich nun ein Beitrag übersehen habe der dieses Thema behandelt bitte entschuldigt das nur habe ich über die Suche nichts gefunden.

Viele Grüße
FuPe
 
Code:
dpkg -S libphp5
client:/usr/lib/apache2/modules# dpkg -S libphp5
dpkg: *libphp5* not found.


und bei dpkg -L |grep libphp5
ergibt kein ergebnis weil er es einfach nicht finden kann.

Gruß
FuPe
 
also ich nehme mal an du wolltest das script sehen welches mein configure aufruf tätigt und dann kompiliert. Denn mein configure aufruf prodiziert keine Fehler. bzw meckert nur über 2 optionen
Code:
Notice: Following unknown configure options were used:

--with-apache2
--with-config-file=/etc/php5/php.ini

so nun also hier das script:

Code:
#!/usr/bin/make -f

# -*- makefile -*-

# Sample debian/rules that uses debhelper.

# This file was originally written by Joey Hess and Craig Small.

# As a special exception, when this file is copied by dh-make into a

# dh-make output file, you may use that output file without restriction.

# This special exception was added by Craig Small in version 0.37 of dh-make.



# Uncomment this to turn on verbose mode.

#export DH_VERBOSE=1





# These are used for cross-compiling and for saving the configure script

# from having to guess our platform (since we know it already)

DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))

CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)

else

CROSS= --build $(DEB_BUILD_GNU_TYPE)

endif







config.status: configure

        dh_testdir

        # Add here commands to configure the package.

ifneq "$(wildcard /usr/share/misc/config.sub)" ""

        cp -f /usr/share/misc/config.sub config.sub

endif

ifneq "$(wildcard /usr/share/misc/config.guess)" ""

        cp -f /usr/share/misc/config.guess config.guess

endif

        ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-apxs2=/usr/bin/apxs2 --with-apache2 --with-config-file-path=/etc/php5 --enable-cli --with-pear --with-mysql --with-config-file=/etc/php5/php.ini --with-config-file-path=/etc/php5/ --with-mysql --with-openssl --with-pdo-mysql --with-xsl --with-gd --enable-fastcgi --enable-force-cgi-redirect --with-regex=php --with-pgsql  #CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"



build: build-stamp



build-stamp:  config.status

        dh_testdir



        # Add here commands to compile the package.

        $(MAKE)

        #docbook-to-man debian/php.sgml > php.1



        touch $@

clean:

        dh_testdir

        dh_testroot

        rm -f build-stamp



        # Add here commands to clean up after the build process.

        [ ! -f Makefile ] || $(MAKE) distclean

        rm -f config.sub config.guess



        dh_clean  --exclude ./ext/standard/var_unserializer.c.orig --exclude ./ext/standard/url_scanner_ex.c.orig --exclude ./ext/date/lib/parse_date.c.orig --exclude ./ext/spl/tests/iterator_044.phpt.orig --exclude ./ext/pdo/pdo_sql_parser.c.orig



install: build

        dh_testdir

        dh_testroot

        dh_clean -k  --exclude ./ext/standard/var_unserializer.c.orig --exclude ./ext/standard/url_scanner_ex.c.orig --exclude ./ext/date/lib/parse_date.c.orig --exclude ./ext/spl/tests/iterator_044.phpt.orig --exclude ./ext/pdo/pdo_sql_parser.c.orig

        dh_installdirs



        # Add here commands to install the package into debian/php.

        $(MAKE) prefix=$(CURDIR)/debian/php/usr install





# Build architecture-independent files here.

binary-indep: build install

# We have nothing to do by default.



# Build architecture-dependent files here.

binary-arch: build install

        dh_testdir

        dh_testroot

        dh_installchangelogs

        dh_installdocs

        dh_installexamples

#       dh_install

#       dh_installmenu

#       dh_installdebconf

#       dh_installlogrotate

#       dh_installemacsen

#       dh_installpam

#       dh_installmime

#       dh_python

#       dh_installinit

#       dh_installcron

#       dh_installinfo

        dh_installman

        dh_link

        dh_strip

        dh_compress

        dh_fixperms

#       dh_perl

        dh_makeshlibs

        dh_installdeb

        dh_shlibdeps

        dh_gencontrol

        dh_md5sums

        dh_builddeb



binary: binary-indep binary-arch

.PHONY: build clean binary-indep binary-arch binary install

ich dank dir schonma fürs drüberschauen und die eventuelle Hilfe :)
 
jo ich weis dass das die Ausgabe ist ich dachte nur vllt ist schon was aus dem script ersichtlich ich bin scriptmässig nicht wirklich bewandert. Naja hier also die komplette ausgabe:

Code:
./configure --with-apxs2=/usr/bin/apxs2 --with-apache2 --with-config-file-path=/etc/php5 --enable-cli --with-pear --with-mysql --with-config-file=/etc/php5/php.ini --with-config-file-path=/etc/php5/ --with-mysql --with-openssl --with-pdo-mysql --with-xsl --with-gd --enable-suhosin --enable-fastcgi --enable-force-cgi-redirect --with-regex=php --with-pgsql 
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for bison... bison -y
checking for bison version... 2.3 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for flex version... invalid
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4  (found: 2.5.35)
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib... 

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... yes
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for Milter support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking whether Roxen module is build using ZTS... no
checking for Roxen/Pike support... 
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache2handler

Running system checks
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking whether byte ordering is bigendian... no
checking whether writing to stdout works... This is the test message -- yes
checking for socket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... no
checking for __dlopen... no
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... no
checking for __res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for dirent.h... yes
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for sys/loadavg.h... no
checking for termios.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for assert.h... (cached) yes
checking for mach-o/dyld.h... no
checking for fopencookie... yes
checking for broken getcwd... no
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of size_t... 8
checking size of long long... 8
checking size of long long int... 8
checking size of long... 8
checking size of int... 4
checking size of intmax_t... 8
checking size of ssize_t... 8
checking size of ptrdiff_t... 8
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for field sa_len in struct sockaddr... no
checking for IPv6 support... yes
checking for vprintf... yes
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for gcvt... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for grantpt... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lchown... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for perror... yes
checking for poll... yes
checking for ptsname... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... (cached) yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setenv... yes
checking for setpgid... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strnlen... yes
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for nanosleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking for in_addr_t... yes
checking for crypt_r... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /etc/php5/
checking where to scan for configuration files... 
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking how big to make fd sets... using system default

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for DSA_get_default_method in -lssl... yes
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE support... yes
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... no
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... no
checking if we should use cURL for url streams... no
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... no
checking OpenSSL dir for FTP... no
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
checking for GNU gettext support... no
checking for GNU MP support... no
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of long long... (cached) 8
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for InterBase support... no
checking whether to enable JavaScript Object Serialization support... yes
checking for ANSI C header files... (cached) yes
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... no
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for mcrypt support... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... yes
checking for MySQLi support... no
checking whether to enable embedded MySQLi support... no
checking for ncurses support... no
checking for Oracle (OCI8) support... no
checking whether to enable pcntl support... no
checking whether to enable PDO support... yes
checking for PDO_DBLIB support via FreeTDS... no
checking for Firebird support for PDO... no
checking for MySQL support for PDO... yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_query in -lmysqlclient... yes
checking for mysql_commit... yes
checking for mysql_stmt_prepare... yes
checking for mysql_next_result... yes
checking for mysql_sqlstate... yes
checking for PDO includes... checking for PDO includes... /mirror/packet/src/test/3rdtry/php-5.2.10/ext
checking Oracle OCI support for PDO... no
checking for ODBC v3 support for PDO... no
checking for PostgreSQL support for PDO... no
checking for sqlite 3 support for PDO... yes
checking for PDO includes... (cached) /mirror/packet/src/test/3rdtry/php-5.2.10/ext
checking size of char *... 8
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... yes
checking for fdatasync in -lrt... yes
checking for PostgreSQL support... yes
checking for pg_config... /usr/bin/pg_config
checking for PQescapeString in -lpq... yes
checking for PQunescapeBytea in -lpq... yes
checking for PQsetnonblocking in -lpq... yes
checking for PQcmdTuples in -lpq... yes
checking for PQoidValue in -lpq... yes
checking for PQclientEncoding in -lpq... yes
checking for PQparameterStatus in -lpq... yes
checking for PQprotocolVersion in -lpq... yes
checking for PQtransactionStatus in -lpq... yes
checking for PQexecParams in -lpq... yes
checking for PQprepare in -lpq... yes
checking for PQexecPrepared in -lpq... yes
checking for PQresultErrorField in -lpq... yes
checking for PQsendQueryParams in -lpq... yes
checking for PQsendPrepare in -lpq... yes
checking for PQsendQueryPrepared in -lpq... yes
checking for PQputCopyData in -lpq... yes
checking for PQputCopyEnd in -lpq... yes
checking for PQgetCopyData in -lpq... yes
checking for PQfreemem in -lpq... yes
checking for PQsetErrorVerbosity in -lpq... yes
checking for PQftable in -lpq... yes
checking for PQescapeStringConn in -lpq... yes
checking for PQescapeByteaConn in -lpq... yes
checking for pg_encoding_to_char in -lpq... yes
checking whether to enable POSIX-like functions... yes
checking for sys/mkdev.h... no
checking for seteuid... yes
checking for setegid... yes
checking for setsid... yes
checking for getsid... yes
checking for setpgid... (cached) yes
checking for getpgid... yes
checking for ctermid... yes
checking for mkfifo... yes
checking for mknod... yes
checking for getrlimit... yes
checking for getlogin... (cached) yes
checking for getgroups... yes
checking for makedev... no
checking for initgroups... yes
checking for getpwuid_r... (cached) yes
checking for getgrgid_r... yes
checking for working ttyname_r() implementation... yes
checking for utsname.domainname... yes
checking for PSPELL support... no
checking for libedit readline replacement... no
checking for readline support... no
checking for recode support... no
checking whether to enable reflection support... yes
checking whether to enable PHP sessions... yes
checking for mm support... no
checking whether pwrite works... no
checking whether pread works... no
checking whether to enable shmop support... no
checking whether to enable SimpleXML support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for SNMP support... no
checking OpenSSL dir for SNMP... no
checking whether to enable UCD SNMP hack... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... no
checking enable SPL suppport... yes
checking whether zend_object_value is packed... no
checking for sqlite support... yes
checking whether to enable UTF-8 support in sqlite (default: ISO-8859-1)... no
checking for PDO includes... (cached) /mirror/packet/src/test/3rdtry/php-5.2.10/ext
checking for lemon... no
configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
checking size of char *... (cached) 8
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... (cached) yes
checking whether flush should be called explicitly after a buffered io... no
checking for crypt in -lcrypt... yes
checking for standard DES crypt... yes
checking for extended DES crypt... no
checking for MD5 crypt... yes
checking for Blowfish crypt... no
checking for getcwd... yes
checking for getwd... yes
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for log1p... yes
checking for hypot... yes
checking for glob... yes
checking for strfmon... yes
checking for nice... yes
checking for fpclass... no
checking for isinf... yes
checking for isnan... yes
checking for working fnmatch... yes
checking which regex library to use... php
checking whether rounding works as expected... yes
checking for fork... yes
checking if your OS can spawn processes with inherited handles... yes
checking for res_nmkquery... no
checking for __res_nmkquery... yes
checking for res_nsend... no
checking for __res_nsend... yes
checking for dn_expand... no
checking for __dn_expand... yes
checking whether atof() accepts NAN... yes
checking whether atof() accepts INF... yes
checking whether HUGE_VAL == INF... yes
checking whether HUGE_VAL + -HUGEVAL == NAN... yes
checking whether strptime() declaration fails... no
checking for wchar.h... yes
checking for mblen... yes
checking for mbrlen... yes
checking for mbsinit... yes
checking for mbstate_t... yes
checking for Sybase support... no
checking for Sybase-CT support... no
checking whether to enable System V IPC support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking for TIDY support... no
checking whether to enable tokenizer support... yes
checking whether to enable WDDX support... no
checking libexpat dir for WDDX... no
checking whether to enable XML support... yes
checking libexpat install dir... no
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking whether to enable XMLReader support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... no
checking iconv dir for XMLRPC-EPI... no
checking whether to enable XMLWriter support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for XSL support... yes
checking for EXSLT support... found
checking for zip archive read/writesupport... no

Configuring PEAR
checking whether to install PEAR... yes

Configuring Zend
checking for bison version... (cached) 2.3 (ok)
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for stdlib.h... (cached) yes
checking for mach-o/dyld.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking for uint... yes
checking for ulong... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... yes
checking for kill... yes
checking for strtod... yes
checking for strtol... yes
checking for finite... yes
checking for fpclass... (cached) no
checking whether sprintf is broken... no
checking for finite... (cached) yes
checking for isfinite... no
checking for isinf... (cached) yes
checking for isnan... (cached) yes
checking whether fp_except is defined... no
checking for dlfcn.h... (cached) yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking virtual machine dispatch method... CALL
checking whether to enable thread-safety... no
checking whether to enable inline optimization for GCC... yes
checking whether to enable Zend debugging... no
checking whether to enable Zend multibyte... no
checking for inline... inline
checking target system is Darwin... no
checking for MM alignment and log values... done
checking for memory allocation using mmap(MAP_ANON)... yes
checking for memory allocation using mmap(/dev/zero)... yes
checking for mremap... yes

Configuring TSRM
checking for stdarg.h... (cached) yes

Configuring libtool
checking build system type... x86_64-unknown-linux-gnu
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool

Generating files
updating cache ./config.cache
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating main/php_config.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

Notice: Following unknown configure options were used:

--with-apache2
--with-config-file=/etc/php5/php.ini
--enable-suhosin

die config anzugeben wollte er nicht allerdings hat er ja den config-file-path akzeptiert.

Gruß
FuPe
 
Last edited by a moderator:
Dein Kompilat ist mit `make install` wohl irgendwo unter /usr/local/ gelandet und nicht /usr, wo deine Distribution (und der Apache httpd) die Daten vermuten.
 
jo das ist klar nur solange man diese verlinkt geht alles. nur ist das Problem dass ich kein make install ausführe wenn ich ein Paket baue. sondern das ganze nur mit make kompiliere und dann direkt ein dpkg-buildpackage -uc -us -e ausführe um das ganze in ein Paket zu packen und dabei nimmt er die libphp5.so nicht mit. Sprich wenn ich das Paket auf einem neuen System installiere fehlt diese Modul schlichtweg. Daher suche ich nach der Möglichkeit wie ich diese libphp5.so mit in mein Packet zu integrieren.
 
dpkg-buildpackage macht im Prinzip auch nichts anderes als `make install` in ein gefaketes Rootverzeichnis und schnappt sich dort dann die Dateien. Das richtige Pfadpräfix musst du schon dem configure-Skript mitgeben ("--prefix=...").
 
Danke für den Tipp mein configure sieht nun so aus:
Code:
./configure --with-apxs2=/usr/bin/apxs2 --with-apache2 --with-config-file-path=/etc/php5 --enable-cli --with-pear --with-mysql --with-config-file=/etc/php5/php.ini --with-config-file-path=/etc/php5/ --with-openssl --with-pdo-mysql --with-xsl --with-gd --enable-suhosin --enable-fastcgi --enable-force-cgi-redirect --with-regex=php --with-pgsql --prefix=/usr --enable-shared
 #CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"

allerdings hat das nichts an meinem Problem geändert sprich das modul fehlt immer noch. :/
Gruß
FuPe

P.S. Bitte entschuldige die lange Antwortszeit nur hatte ich Beruffschule und hatte daher keine Zeit mich nochmal mit dem Problem auseinander zu setzen.
 
ok ich habe das ganze nun anders gelöst und zwar habe ich mir ein kleines shell script geschrieben welches sich in der postinstall, direkt nach dem paketinstall, automatisch ausführt und was mir die fehlenden libs usw an den richtigen Ort kopiert. Sprich mein Problem ist gelöst. Vielen dank trotzdem für die Hilfe.

Gruß
FuPe
 
Back
Top