Re: Understanding freetype packaging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 26 April 2003 03:01 pm, Robin Atwood wrote:
> On Tuesday 22 Apr 2003 19:02, Jeremy Portzer wrote:
> > You're making life difficult on yourself.  Just download the freetype
> > SRPM, install it with rpm -i, and turn on the bytecode interpreter
> > with a simple change to the spec file.  (I'm pretty sure it's the
> > very first thing in the spec file, something like %define
> > without_bytecode_interpreter).  Then just rebuild from the spec file
> > (rpmbuild -bb freetype.spec) .  No need to bother with the freetype
> > source tarball, which as you point out does things somewhat
> > differently than the Red Hat SRPM.
>
> I have just tried this and get:
>
> [root@xxxx SPECS]# rpmbuild --nobuild -bb freetype.spec
[...]
> RPM build errors:
>     File not found: /var/tmp/freetype-2.1.3-root/usr/bin/ftmemchk
>     File not found: /var/tmp/freetype-2.1.3-root/usr/bin/ftmulti
>     File not found: /var/tmp/freetype-2.1.3-root/usr/bin/ftstring
>     File not found: /var/tmp/freetype-2.1.3-root/usr/bin/fttimer
>     File not found: /var/tmp/freetype-2.1.3-root/usr/bin/ftview

If that's the command you used, I wouldn't expect the build to complete 
successfully. From the rpmbuild manpage:
- --nobuild
   Do not execute any build stages. Useful  for  testing  out  spec files.

I'd suggest 'rpmbuild -bb freetype.spec' 

I'd also suggest setting up a non-root build environment, and building 
packages as a normal user.

Details on setting that up are here:
http://www.tuxfan.homeip.net:8080/hack.html

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+qusHn/07WoAb/SsRAipGAKCTlOZ06xC/UAC2Q/xcAKzsXjAjTQCfVVu8
JrbVJHPw6mUfvQqNvUWMRtc=
=7lwM
-----END PGP SIGNATURE-----





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux