On Mon, 11 Aug 2003 15:40:52 +1000 (EST) Mark Livingstone <[EMAIL PROTECTED]> wrote:

> Now I'm not one of the build volunteers but I thought I'd give it a
> try for Mandrake 9.1:

I'm trying it for RedHat 8.0 with RawHide 1.0 updates.

> Granted I have no idea what I'm doing here - I'm just following what
> I think the orders are which may or may not be the case ;-)

Ditto.

> On Wed, 30 Jul 2003 02:38:50 +0200 (Romance Daylight Time)
> Vadim Zeitlin <[EMAIL PROTECTED]> wrote:

>>  I'd like to ask (again) for help with this. I've built RPMs on my
>> RedHat 7.3 machine successfully so I hope this should work without
>> problems for others as well. You must use the wxWindows version from
>> cvs HEAD however.
>>
>>  Here are the brief instructions (please ask if you need more
>> details):
>>
>> 1. get wxWindows from cvs HEAD
>> 2. mkdir gtk-release

Used wxWindows/../gtk-pre-rpm.  I've been building wxWindows in
wxWindows/../gtk-release for some time and installing it locally.  So
I'm more comfortable building outside the source tree.

>> 3. run
>>
>>         ../configure --disable-shared --disable-threads \
>>                 --disable-joystick --without-expat && make -s

I ran:

   wx=~/projects/wxWindows/gtk-pre-rpm
   M=~/projects/Mahogany/M
   cd $wx
   tlog.sh ../wxWindows/configure --disable-shared --disable-threads \
      --disable-joystick --without-expat
   tlog.sh make

tlog.sh redirects STDIN and STDOUT to a log file. This is the first
time I've used --without-expat.

>> 4. don't do "make install"

I didn't install.

>> 5. create directories for building RPMs somewhere if you don't have
>> them yet or use /usr/src/redhat if you're root

I already have a rpm build directory which I have used to build Pan.
It's set as _topdir in ~/.rpmmacros .

>> 6. go to your buildroot whatever it is and do:
>>
>>         CONFIG_FLAGS=--with-wxdir=$wx/gtk-release
>> --with-modules=dynamic \
>>                 rpmbuild -ba $M/redhat/M.spec 2>&1 | tee M.log

I ran:

   cd ~/projects/rpm_root
   export CONFIG_FLAGS="--with-wxdir=$wx --with-modules=dynamic"
   tlog.sh rpmbuild -ba $M/redhat/M.spec

I also got:

   error: Unable to open icon /home/mchase/projects/rpm_root/SOURCES/mahogany.gif: No 
such file or directory

> Am I supposed to move all the source from /home/markl/M to
> /usr/src/RPM/SOURCE or something am I?

I renamed M to M-0.65 and tarred it to M-0.65.tar.bz2 which I placed in
rpm_root/SOURCES.  I also ln'd M.spec to rpm_root/SPECS.

I then ran:

   tlog.sh rpmbuild -ba SPECS/M.spec

and got the same error so I ln'ed the icon file to SOURCES/ and tried
again.

   ln $M/redhat/mahogany.gif SOURCES/
   tlog.sh rpmbuild -ba SPECS/M.spec

That gave me the error:

error: File /home/mchase/projects/rpm_root/SOURCES/mahogany-0.65.tar.bz2: No such file 
or directory

so I renamed the checked out CVS base direcory and retarred it.  After
that, the rpmbuild proceeded normally.  I am sending you this using the
RPM version, so I guess it worked.  Now I'll be able to try a new
version of Mahogany and easily revert to the older one if necessary.

What I'd really like to be able to do is build wxWindows RPMs from the
latest CVS source and then build a Mahogany RPM that depends on the
installed wxWindows.

I was able to build a wxGTK RPM set, but I'm not sure it is valid since
I had to make some changes to wxGTK.spec and Makefile.in to get them to
build.  I have not yet succeeded building a wxBase RPM; rpmbuild is not
finding a translation file for wxstd.  I am joining wx-users to report
those problems.

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to