On Wed Dec 12 04:05:23 2007, LGODDARD wrote:
Show quoted text>
> I tried to install using PREFIX, and got an error as an attempt was
> made to write to a restricted area.
>
> Usually I am graced with root, but not here. This may be me, it may be
> darned MakeMaker, in which case please let me know!
...
Show quoted text> into /usr/central/lib/perl5/site_perl/5.6.1
> at /usr/common/lib/perl5/5.6.1/ExtUtils/Install.pm line 85.
> mkdir /usr/central/lib/perl5/site_perl/5.6.1/auto/Imager: Read-only
> file system at /usr/common/lib/perl5/5.6.1/ExtUtils/Install.pm line 149
> make: *** [pure_site_install] Error 255
I can install to a private directory fine here:
tony@develop-help:.../src/Imager-0.62$ perl Makefile.PL
PREFIX=/home/tony/testlib
done.
gif: includes found - libraries found
ungif: includes found - libraries found
...
tony@develop-help:.../src/Imager-0.62$ make -j3
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap
/usr/share/perl/5.8/ExtUtils/typemap -typemap typemap Imager.xs >
Imager.xsc && mv Imager.xsc Imager.c
cc -c -I/usr/include/libpng12 -I/usr/include/freetype2
-I/usr/include/freetype -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.62\"
-DXS_VERSION=\"0.62\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DOS_linux draw.c
...
Manifying blib/man3/Imager::Matrix2d.3pm
Manifying blib/man3/Imager::Handy.3pm
tony@develop-help:.../src/Imager-0.62$ make install
make[1]: Entering directory `/mnt/tony/tony/src/Imager-0.62/CountColor'
make[1]: Leaving directory `/mnt/tony/tony/src/Imager-0.62/CountColor'
...
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /home/tony/testlib/lib/perl/5.8.8/auto/Imager/Imager.so
Installing /home/tony/testlib/lib/perl/5.8.8/auto/Imager/Imager.bs
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/CountColor/CountColor.bs
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/CountColor/CountColor.so
Installing /home/tony/testlib/lib/perl/5.8.8/auto/Imager/File/SGI/SGI.so
Installing /home/tony/testlib/lib/perl/5.8.8/auto/Imager/File/SGI/SGI.bs
Installing /home/tony/testlib/lib/perl/5.8.8/auto/Imager/File/ICO/ICO.so
Installing /home/tony/testlib/lib/perl/5.8.8/auto/Imager/File/ICO/ICO.bs
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/Filter/Mandelbrot/Mandelbrot.bs
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/Filter/Mandelbrot/Mandelbrot.so
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/Filter/DynTest/DynTest.so
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/Filter/DynTest/DynTest.bs
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/Filter/Flines/Flines.so
Installing
/home/tony/testlib/lib/perl/5.8.8/auto/Imager/Filter/Flines/Flines.bs
...
This is using the latest version of ExtUtils::MakeMaker.
If you're installing other packages fine using PREFIX it might be
because of Imager's XS component, if so, setting INST_ARCHLIB directly
might be a solution.
The warning about LIBS is because freetype-config often includes those
options, but EU::MM doesn't understand them.
Tony