Bryan Paxton wrote:
> 
> On Sun, 2002-03-03 at 18:43, Bryan Paxton wrote:
> > s'/3mdk/4mdk/' : )
> >
> 
>  Damn enter key again : p
> Anyway, still can't find Magik++ etc... at %install on a build.

Are you talking to package rebuilt by yourself or
the libMagick5-devel-5.4.2-3mdk in cooker? Here is what I got:

rpm -qpl libMagick5-devel-5.4.2.3-3mdk.i586.rpm |grep config

/usr/bin/Magick++-config
/usr/bin/Magick-config
/usr/include/magick/magick_config.h

and, so the Magick++-config and Magick-config are in the package. If you
have trouble on rebuilding, 1st be sure you aren't rebuilding the package
as root, 2nd be sure you have libtool 1.4.2-3mdk, 3rd what
is exactly the output error of rpm?

> Once again, it's these commands that fubars the %install
> perl -pi -e \
>       's|-L/.*magick/\.libs ||' \
>        $RPM_BUILD_ROOT%{_bindir}/Magick-config \
>        $RPM_BUILD_ROOT%{_bindir}/Magick++-config

Because probably the perl doesn't find the files in the BuildRoot
dir. You can change to:

if [ -e $RPM_BUILD_ROOT%{_bindir}/Magick++-config ]; then
        perl blabla
fi

And if you remove what you obtain?

Bye.
Giuseppe.


Reply via email to