Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
RPMBuild

RPMBuild

2004-11-22       - By roger@(protected)

 Back
>Well, sorta.  If you install a ".src.rpm", you don't end up with source
>that you do the normal "./configure;make;make install" operations.  The
>source ends up in "/usr/src/redhat", with files distributed among the
>various directories in there.  To make a batch of files that you can
>do the "./configure;make;make install", you have to go to the
>"/usr/src/redhat/SPECS" directory and run:
>
>     rpmbuild -bp name-of-spec-file
>
>This will unpack the source and apply any patches that RedHat has made.
>The resulting source will be in a directory >in /usr/src/redhat/SOURCES.
>That directory can be copied to whereever you wish via
>
>     # cd /usr/src/redhat/SOURCES
>     # cp -a directory-name destination-directory
>
>THEN you can do the "./configure;make;make install".  If you want to
>create an installable source RPM and the binary, you can bypass all of
>that guano and
>
>     # rpmbuild --rebuild name-of-src.rpm

Going back to an earlier post on this subject. I've made some progress and was
able to get rpmbuild -bp php.spec to run. So now I have a patched php-4.2.2
under /usr/src/redhat/BUILD. So I can do a configure/make/make install.

Now my concern before proceeding is how this is going to impact with the RPM
install of PHP. Since this was built from the .src.rpm of the same version
should it update the existing PHP? What do I need to do/worry about here?

Background:
I have php-4.2.2-17.2.i386.rpm installed
I just installed php-4.2.2-17.2.src.rpm modified the php.spec (not that it
matters because I modified the configure portion) and ran rpmbuild -bp php.spec
. I want to run configure/make/make install on my new php-4.2.2 but am concerned
about the impact on the installed RPM version.

Thanks,
Roger

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe

Earn $52 per hosting referral at Lunarpages.