David Kramer wrote:
> I ran into some problems with "9. rpm -ba apache-mod_ssl.spec "
> First I got:
> [root@kramer SPECS]# rpm -ba apache-mod_ssl.spec
> Executing: %prep
> + umask 022
> + cd /usr/src/redhat/BUILD
> + rm -rf apache-mod_ssl_1.3.12.2.6.0
> + mkdir -p apache-mod_ssl_1.3.12.2.6.0
> + cd /usr/src/redhat/BUILD
> + cd apache-mod_ssl_1.3.12.2.6.0
> /var/tmp/rpm-tmp.70237: apache-mod_ssl_1.3.12.2.6.0: No such file or
> directory
> Bad exit status from /var/tmp/rpm-tmp.70237 (%prep)
As Jason guessed, my problem was pulling the file down under Windows and
copying it over. Fixed.
Now I've hit another problem, which I hopefully won't feel so stupid
over. During rpm -ba php.spec, I got:
...
gcc -O2 -fPIC -fpic -I. -I. -I/usr/include/apache
-I/usr/include -I/usr/include/mysql
-I/usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1/c-api
-I/usr/include/apache -c functions/dav.c -o functions/dav.o
gcc -O2 -fPIC -fpic -I. -I. -I/usr/include/apache
-I/usr/include -I/usr/include/mysql
-I/usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1/c-api
-I/usr/include/apache -c functions/sysvshm.c -o functions/sysvshm.o
gcc -O2 -fPIC -fpic -I. -I. -I/usr/include/apache
-I/usr/include -I/usr/include/mysql
-I/usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1/c-api
-I/usr/include/apache -c functions/gettext.c -o functions/gettext.o
gcc -O2 -fPIC -fpic -I. -I. -I/usr/include/apache
-I/usr/include -I/usr/include/mysql
-I/usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1/c-api
-I/usr/include/apache -c functions/php3_mckcrypt.c -o
functions/php3_mckcrypt.o
functions/php3_mckcrypt.c:46: mckcrypt.h: No such file or directory
make: *** [functions/php3_mckcrypt.o] Error 1
Bad exit status from /var/tmp/rpm-tmp.871 (%build)
In the temp file I found
"--with-mck=/usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1 \"
rpm -qa | grep -i mck turned up nothing. I have no idea what mck is,
but there is no /usr/src/mck* directory.
I found php3_mckcrypt.c and php3_mckcrypt.h in
/usr/src/redhat/BUILD/php-3.0.12/functions/
I tried creating /usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1/c-api and
copying /usr/src/redhat/BUILD/php-3.0.12/functions/*.h there, but that
did not seem to help.
Can you? Thanks in advance. Sorry if this is another stupid one.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.