On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote:
>
>C�pia Bill Campbell <[EMAIL PROTECTED]>:
>
>> On Tue, Dec 02, 2003, [EMAIL PROTECTED] wrote:
>I couldn't find openpkg-tool. Is it a provided as an OpenPkg package ?
>
>When you say to build gcc, you mean I should get gcc-3.3-1.3.0.src.rpm and do:
> /cw/bin/rpm --rebuild gcc-3.3-1.3.0.src.rpm
If you install openpkg-tool then do ``openpkg build -K gcc'' it will figure
out the current version and generate a script to rebuild it and all its
prerequisites from the proper directories at ftp.openpkg.org. The ``-K''
option tells openpkg to keep prerequisite packages instead of removing them
after the build is complete.
>Will I need to install all packages from source, or after building gcc I could
>use some pre-build packages ?
I would try to build from source rather than using prebuilt packages,
particularly since Red Hat has a reputation for library inconsistencies.
>And as I whant to have 2 installations of OpenPkg (one for real, and one for
>testing/implementing new packages) what matters for the --prefix is the
>real_directiry, and not the symlink I do to /cw ?
The symlink won't be meaningful to OpenPKG as it will have the full path
name in %{l_prefix} which is then hard-coded in many places (e.g. the perl
spitshell headers).
Bill
--
INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc.
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``If the government can take a man's money without his consent, there is no
limit to the additional tyranny it may practise upon him; for, with his
money, it can hire soldiers to stand over him, keep him in subjection,
plunder him at discretion, and kill him if he resists.''
Lysander Spooner, 1852
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]