Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
merge php problem: cracklib
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pmeleard
n00b
n00b


Joined: 01 Nov 2004
Posts: 6

PostPosted: Mon Nov 01, 2004 4:07 pm    Post subject: merge php problem: cracklib Reply with quote

I try to emerge php_4.3.9 .
I successfully emerge cracklib-2.7-r9.
But emerging php occurs with error: "cannot find cracklib library file"

Thancks for help ....
Back to top
View user's profile Send private message
sism82
n00b
n00b


Joined: 14 Jul 2004
Posts: 44
Location: Mexico

PostPosted: Mon Nov 01, 2004 10:28 pm    Post subject: Reply with quote

hi. hum, i really dont see the dependence between cracklib and mod_php4. I have mod_php-5.0.2 and it works fine. Why dont you try mod_php-4.3.9_rc1?? could you put here the exact commands that you are executing, and more about the error??
_________________
Be near me when my light is low,
When the blood creeps, and the nerves prick
And tingle; and the heart is sick,
And all the wheels of Being slow.
Back to top
View user's profile Send private message
pmeleard
n00b
n00b


Joined: 01 Nov 2004
Posts: 6

PostPosted: Tue Nov 02, 2004 7:26 am    Post subject: Reply with quote

Well, php mod_php-4.3.9_rc1 is not stable ....
Here are status with PHP:

Code:

emerge -pv php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-php/php-4.3.9 [4.3.8] +X -berkdb +crypt -curl -debug +doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm -gmp -hardenedphp -imap -informix -ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc -pam +pdflib +png -postgres +qt +readline -snmp +spell +ssl -tiff* +truetype +xml2 -yaz 0 kB


Here are status with cracklib:

Code:

emerge -pv cracklib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/cracklib-2.7-r9  -debug -pam (-uclibc) 0 kB




And the messages emerging PHP:

Code:


nodule root # emerge -uv php
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/php-4.3.9 to /
>>> md5 src_uri ;-) php-4.3.9.tar.bz2
>>> md5 src_uri ;-) php-4.3.6-includepath.diff
>>> Unpacking source...
 * If you have both freetds and mssql in your USE flags, parts of PHP
 * may not behave correctly, or may give strange warnings. You have
 * been warned! It's recommended that you pick ONE of them. For sybase
 * support, chose 'freetds'. For mssql support choose 'mssql'.
>>> Unpacking php-4.3.9.tar.bz2 to /var/tmp/portage/php-4.3.9/work
>>> Source unpacked.
java
!alpha
!amd64
 * Active JDK version: 1.4.2-gentoo
 * Skipping DB2, DB3, DB4, NDBM support
x86
x86
x86
!alpha
X
pdflib
png
jpeg
mysql
truetype
mysql
ncurses
 * Using INI file: /etc/php/cli-php4/php.ini
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-cgi --enable-cli --without-db3 --without-db4 --without-db2 --without-ndbm --with-mcrypt=/usr --with-mhash=/usr --without-interbase --without-ming --without-swf --without-sybase --with-gdbm=/usr --without-fdftk --with-java=/opt/sun-j2sdk-1.4.2 --without-mcal --without-unixODBC --without-pgsql --without-snmp --with-xpm-dir=/usr/X11R6 --without-gmp --without-mssql --with-pdflib=/usr --without-gd --with-png=/usr --with-png-dir=/usr --with-jpeg=/usr --with-jpeg-dir=/usr --enable-exif --with-tiff=/usr --with-tiff-dir=/usr --with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-freetype-dir=/usr --with-ttf=/usr --with-t1lib=/usr --with-gettext --with-qtdom=/usr/qt/3 --with-pspell=/usr --with-openssl=/usr --without-imap --without-ldap --with-dom=/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --without-kerberos --without-pam --disable-memory-limit --disable-ipv6 --without-yaz --disable-debug --without-curl --enable-dbx --with-zlib=/usr --with-zlib-dir=/usr --with-sablot=/usr --enable-xslt --with-xslt-sablot --with-xmlrpc --enable-wddx --with-xml --enable-mbstring=all --enable-mbregex --with-bz2=/usr --with-crack=/usr --with-cdb --enable-pcntl --enable-bcmath --enable-calendar --enable-dbase --enable-filepro --enable-ftp --with-mime-magic=/usr/share/misc/file/magic.mime --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-iconv --enable-shmop --enable-dio --enable-yp --with-readline=/usr --with-ncurses=/usr --enable-inline-optimization --enable-track-vars --enable-trans-sid --enable-versioning --with-config-file-path=/etc/php/cli-php4
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer  -L/usr/X11R6/lib -ltiff -L/usr/lib) works... yes
checking whether the C compiler (gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer  -L/usr/X11R6/lib -ltiff -L/usr/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
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 if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.875 (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 flex version... 2.5.4 (ok)
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 for member fd in BUFF *... no
checking for mod_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... no
checking for Caudium support... no
checking for CLI build... yes
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking for Roxen/Pike support... no
checking for Servlet support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for CGI build... no
checking for chosen SAPI module... cli

Running system checks
checking for missing declarations of reentrant functions... done
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking for socket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... yes
checking for dlopen... yes
checking for sin in -lm... yes
checking for res_search... no
checking for __res_search... 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 fclose declaration... ok
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 mach-o/dyld.h... no
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/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/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 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 fopencookie... yes
checking for broken getcwd... no
checking for broken libc stdio... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of long... 4
checking size of int... 4
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 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... yes
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for gcvt... 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 isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... 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 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 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 strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... 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 whether sprintf is broken... no
checking whether snprintf is broken... no
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

General settings
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /etc/php/cli-php4
checking directory to be scanned for configuration files... DEFAULT
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 enable runpaths... yes
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... no
checking whether to enable versioning... no

Configuring extensions
checking for OpenSSL support... yes
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /usr
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... yes
checking for BZ2_bzerror in -lbz2... yes
checking whether to enable calendar conversion support... yes
checking for cpdflib support... no
checking for CRACKlib support... yes
configure: error: Cannot find the cracklib library file

!!! ERROR: dev-php/php-4.3.9 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Thanks for your help.
Back to top
View user's profile Send private message
Gregor Kopka
n00b
n00b


Joined: 03 Nov 2004
Posts: 5

PostPosted: Wed Nov 03, 2004 9:27 am    Post subject: Reply with quote

There is a Bug filed for this.

A Workaround is to downgrade the cracklib:
Code:
emerge =cracklib-2.7-r8

PHP 4.3.9 will emerge then.

You could then also
Code:
emerge --inject  sys-apps/cracklib-2.7-r9

to prevent it from reappearing during emerge system/world.

Gregor
Back to top
View user's profile Send private message
pmeleard
n00b
n00b


Joined: 01 Nov 2004
Posts: 6

PostPosted: Wed Nov 03, 2004 11:54 am    Post subject: Reply with quote

Thanks for your answer, i am going to test your solution.
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Nov 08, 2004 7:15 pm    Post subject: Reply with quote

I'd like to add the following as the latest version of portage no longer likes the --inject option.

Instead you'll have to do the following:

Code:
echo "=sys-libs/cracklib-2.7-r9" >> /etc/portage/package.mask


This should mask only the cracklib-2.7-r9 release.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Thu Dec 09, 2004 3:10 am    Post subject: Reply with quote

I finally just said screw it and decided to build a binary on my p4 since that worked. Stupid stages on 2004.3 are really forked up methinks >.<...
Back to top
View user's profile Send private message
fastonion
n00b
n00b


Joined: 19 Jan 2003
Posts: 15
Location: Venezuela

PostPosted: Sun Mar 06, 2005 4:51 pm    Post subject: I have the same trouble but php 4.3.10 Reply with quote

I have the same trouble when i try rebuild mod_php. I fix it and i does this steps:

Quote:
emerge =sys-libs/cracklib-2.7-r10
echo "=sys-libs/cracklib-2.7-r10" >> /etc/portage/package.mask
USE="-X -freetds mssql" emerge -v mod_php


Here my curren use flags for mod_php:
Code:
dev-php/mod_php-4.3.10  -X +apache2 +berkdb +crypt +curl -debug +doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp +imap -informix -ipv6 +java +jpeg +kerberos +ldap +mcal* -memlimit +mssql +mysql +nls -oci8 +odbc +pam +pdflib +png +postgres +qt +snmp +spell +ssl +tiff +truetype +xml2 +yaz 0 kB


And to increase the performance to php i suggest install turck-mmcache http://turck-mmcache.sourceforge.net/ open source PHP accelerator, optimizer, encoder and dynamic content cache.

Code:
emerge -v dev-php/turck-mmcache
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2060
Location: San Jose, CA

PostPosted: Sun Mar 13, 2005 8:05 pm    Post subject: Reply with quote

Forget what I said before.

After a great deal of work I got php-5 running with mod_php-5 (have to remove that /usr/portage/profiles/package.mask entry).

Then you MUST /etc/init.d/apache2 stop and /etc/init.d/apache2 start (RESTART DOES NOT WORK)

jeez, what a pita.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
yamakawa
Guru
Guru


Joined: 28 Jul 2003
Posts: 340

PostPosted: Tue Mar 15, 2005 12:58 am    Post subject: Reply with quote

I have this error instead......
Code:
checking for cpdflib support... no
checking for CRACKlib support... yes
configure: error: Cannot find the cracklib header file


My workaround is.....
Code:
# emerge =cracklib-2.7-r10
# cp /usr/include/packer.h /usr/include/packer.h.org
# emerge cracklib
# cp /usr/include/packer.h.org /usr/include/packer.h
# emerge -u mod_php


Now I am crossfingering.....8O

See: https://bugs.gentoo.org/show_bug.cgi?id=83689
Back to top
View user's profile Send private message
Mayday
n00b
n00b


Joined: 12 Mar 2004
Posts: 13

PostPosted: Tue Mar 15, 2005 5:22 am    Post subject: Reply with quote

This is happening with php5 as well. The problem is with the cracklib ebuild, not the php one.
Back to top
View user's profile Send private message
safeness
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2004
Posts: 105
Location: Eastside, WA

PostPosted: Tue Mar 15, 2005 6:07 pm    Post subject: Reply with quote

I'm going to try yamakawa's method and see if that works. I'm sure downgrading works but I do like to have the latest versions of packages when I can. :D

UPDATE: mod_php emerged nicely and everything seems to be in order. Thanks yamakawa!
Back to top
View user's profile Send private message
Sabishii-ookami
n00b
n00b


Joined: 15 Mar 2005
Posts: 36

PostPosted: Tue Mar 15, 2005 6:39 pm    Post subject: Reply with quote

I tried Yamakawa's method too, it's working fine :) Even with php5 (I upgraded afterward).

Thanks :)
Back to top
View user's profile Send private message
cvstealth
n00b
n00b


Joined: 03 Mar 2003
Posts: 9

PostPosted: Fri Mar 18, 2005 12:09 am    Post subject: Reply with quote

I also had problems compiling php 4.3.10 and downgrading cracklib back to 2.7 fixed the problem, for anyone having similar issues.

Thx
Back to top
View user's profile Send private message
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Fri Mar 18, 2005 11:57 am    Post subject: Reply with quote

I've emerged the cracklib 2.8.2 and was trying to emerge mod_php. Now I get an error like this:
Code:
In file included from /var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:30:
/usr/include/packer.h:28: error: parse error before "uint32_t"
/usr/include/packer.h:30: error: parse error before "pih_blocklen"
/usr/include/packer.h:31: error: parse error before "pih_pad"
/usr/include/packer.h:40: error: parse error before "uint32_t"
/usr/include/packer.h:50: error: conflicting types for `data'
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/main/php.h:259: error: previous declaration of `data'
/usr/include/packer.h:51: error: parse error before '}' token
/usr/include/packer.h:56: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:32: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:33: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `_crack_open_dict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: (Each undeclared identifier is reported only once
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: for each function it appears in.)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: At top level:
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:99: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `_close_crack_dict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:101: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_closedict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:176: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:199: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_check':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:216: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:239: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: At top level:
/usr/include/packer.h:47: error: storage size of `header' isn't known
make: *** [ext/crack/crack.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.10-r1 failed.
!!! Function php-sapi_src_compile, Line 544, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


What can I do except downgrading? And, actually, why does the latest PHP in the repository have version 4, but not 5?

And when will it be fixed so that I can normally emerge the soft rather than using various workarounds?

Thanks
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Fri Mar 18, 2005 12:58 pm    Post subject: Reply with quote

Downgrading cracklib worked for me.
Back to top
View user's profile Send private message
bulazs
n00b
n00b


Joined: 18 Jan 2005
Posts: 19
Location: Hungary

PostPosted: Mon Apr 11, 2005 8:18 pm    Post subject: Reply with quote

Ooohhh....jeeeeezzz.. I'm trying to downgrade the cracklib ebuild, to be able to merge mod_php, and i keep getting the following:

Code:
emerge =cracklib-2.7-r10
Calculating dependencies
emerge: there are no ebuilds to satisfy "=cracklib-2.7-r10".

bulazs bulazs # emerge =sys-libs/cracklib-2.7-r10
Calculating dependencies
emerge: there are no ebuilds to satisfy "=sys-libs/cracklib-2.7-r10".



Why is that? I am using the testing branch, and did "emerge --sync" this afternoon...
Please help! Thanx!
_________________
Seeing is believing...
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Apr 11, 2005 8:29 pm    Post subject: Reply with quote

I simply masked cracklib 2.8.2 - that stops it being installed when you next update world. If you don't want to do that, cracklib-2.7-r10 has disappeared, but cracklib-2.7-r11 should work. :)
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
bulazs
n00b
n00b


Joined: 18 Jan 2005
Posts: 19
Location: Hungary

PostPosted: Mon Apr 11, 2005 8:34 pm    Post subject: Reply with quote

Ohh.. That is working! What a fool i am.. I just tried the older ones... :P Thanks! ;)
Now let's see what happens

Code:

bulazs bulazs # emerge -pv =sys-libs/cracklib-2.7-r11

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/miscfiles-1.4.2  -minimal 0 kB
[ebuild     UD] sys-libs/cracklib-2.7-r11 [2.8.2] -debug -minimal +pam 20 kB


I hope, after that, i will be able to merge mod_php....
_________________
Seeing is believing...
Back to top
View user's profile Send private message
bulazs
n00b
n00b


Joined: 18 Jan 2005
Posts: 19
Location: Hungary

PostPosted: Mon Apr 11, 2005 9:36 pm    Post subject: Reply with quote

Oh jeah!!
I have successfully emerged mod_php, and php, and now everything is OK!
Thanks everybody!!

My steps:
Code:

# echo "=sys-libs/cracklib-2.8.2" >> /etc/portage/package.mask
# emerge -pu cracklib 


Thanks again! :wink:
_________________
Seeing is believing...
Back to top
View user's profile Send private message
MasterC
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 150
Location: Woods Cross, UT

PostPosted: Thu Apr 14, 2005 3:18 pm    Post subject: Reply with quote

So since cracklib 2.8.3 is out, does it fix this?

I guess I'll let you all know....

Cool
Back to top
View user's profile Send private message
MasterC
Apprentice
Apprentice


Joined: 25 May 2003
Posts: 150
Location: Woods Cross, UT

PostPosted: Thu Apr 14, 2005 3:40 pm    Post subject: Reply with quote

Nope...

/etc/portage/package.mask now contains:
>=sys-libs/cracklib-2.8.2

And now mod_php is successfully emerged...

Weak.
Back to top
View user's profile Send private message
Dreadfull
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2005
Posts: 139

PostPosted: Tue Jul 12, 2005 7:04 am    Post subject: Reply with quote

Code:

-O2  -c /var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/ctype/ctype.c -o ext/ctype/ctype.o  && echo > ext/ctype/ctype.lo
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c: In function `zif_crack_check':
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:214: error: `STRINGSIZE' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:214: error: (Each undeclared identifier is reported only once
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:214: error: for each function it appears in.)
make: *** [ext/crack/crack.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/php-4.3.11 failed.
!!! Function php-sapi_src_compile, Line 535, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


tryied with php5 too ..
curently have cracklib-2.7-r11

my package.mask:
Code:

=sys-libs/cracklib-2.7-r9
=sys-libs/cracklib-2.8.3-r1
=sys-libs/cracklib-2.8.2
=sys-libs/cracklib-2.8.3


can anyone tell me the exact steps that i need in this moment ?
thanks
_________________
CPU: AMD Athlon 64 3200+
RAM: 2 GB DDR 400 Dual channel
HDD: 2x200 GB WDC SATA
OS: Gentoo 2005.1
Compiler: GCC 3.4.5
kernel: 2.6.14-hardened-r5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum