Installation issues for Image::Magick on Solaris 10

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Installation issues for Image::Magick on Solaris 10

Post by prash358 »

Hi Friends,
I am trying to install Image::Magick perl module on Solaris 10 and i am runninf into issues when issue a make command.

I have used this binary (i.e) PerlMagick-6.29.tar.gz

I have run the below commands and output pasted below:

perl Makefile.PL
make
make test
sudo make install
perl -MImage::Magick -e 'print $Image::Magick::VERSION'

Kindly advise me how to proceed further.

perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
.................................................................................................................

make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
gcc -c -I../ -I.. -I/usr/include/freetype2 -I/usr/local/include/ -I/usr/include -I/usr/include/libxml2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O3 -g -Wall -DVERSION=\"6.2.9\" -DXS_VERSION=\"6.2.9\" -fPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DHAVE_CONFIG_H Magick.c
Magick.xs: In function `GetList':
Magick.xs:790: warning: cast to pointer from integer of different size
Magick.xs: In function `GetPackageInfo':
Magick.xs:874: warning: cast to pointer from integer of different size
Magick.xs:877: warning: cast from pointer to integer of different size
Magick.c: In function `XS_Image__Magick_Animate':
Magick.c:2093: warning: unused variable `ref'
Magick.c:2088: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Append':
Magick.xs:2264: warning: cast from pointer to integer of different size
Magick.c:2167: warning: unused variable `ref'
Magick.c:2162: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Average':
Magick.xs:2354: warning: cast from pointer to integer of different size
Magick.c:2298: warning: unused variable `ref'
Magick.c:2293: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_BlobToImage':
Magick.xs:2499: warning: cast from pointer to integer of different size
Magick.c:2389: warning: unused variable `ref'
Magick.c:2384: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Copy':
Magick.xs:2606: warning: cast from pointer to integer of different size
Magick.c:2538: warning: unused variable `ref'
Magick.c:2533: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Coalesce':
Magick.xs:2692: warning: cast from pointer to integer of different size
Magick.c:2623: warning: unused variable `ref'
Magick.c:2618: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_CompareLayers':
Magick.xs:2825: warning: cast from pointer to integer of different size
Magick.c:2706: warning: unused variable `ref'
Magick.c:2701: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_DESTROY':
Magick.xs:2889: warning: cast to pointer from integer of different size
Magick.xs:2905: warning: cast to pointer from integer of different size
Magick.c:2834: warning: unused variable `ref'
Magick.c: In function `XS_Image__Magick_Display':
Magick.c:2908: warning: unused variable `ref'
Magick.c:2903: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Flatten':
Magick.xs:3106: warning: cast from pointer to integer of different size
Magick.c:2982: warning: unused variable `ref'
Magick.c:2977: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Fx':
Magick.xs:3267: warning: cast from pointer to integer of different size
Magick.c:3112: warning: unused variable `ref'
Magick.c:3107: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Get':
Magick.xs:3515: warning: cast from pointer to integer of different size
Magick.c:3264: warning: unused variable `ref'
Magick.c:3259: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Histogram':
Magick.c:4429: warning: unused variable `ref'
Magick.c:4424: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_GetPixels':
Magick.c:4544: warning: unused variable `ref'
Magick.c:4539: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_ImageToBlob':
Magick.c:4783: warning: unused variable `ref'
Magick.c:4778: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_MagickToMime':
Magick.c:4880: warning: unused variable `ref'
Magick.c:4876: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Mogrify':
Magick.xs:7666: warning: cast from pointer to integer of different size
Magick.c:4908: warning: unused variable `ref'
Magick.xs: In function `XS_Image__Magick_Montage':
Magick.xs:8070: warning: cast from pointer to integer of different size
Magick.c:7430: warning: unused variable `ref'
Magick.c:7425: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Morph':
Magick.xs:8198: warning: cast from pointer to integer of different size
Magick.c:7831: warning: unused variable `ref'
Magick.c:7826: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Mosaic':
Magick.xs:8283: warning: cast from pointer to integer of different size
Magick.c:7955: warning: unused variable `ref'
Magick.c:7950: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_OptimizeLayers':
Magick.xs:8372: warning: cast from pointer to integer of different size
Magick.c:8038: warning: unused variable `ref'
Magick.c:8033: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Ping':
Magick.c:8121: warning: unused variable `ref'
Magick.c:8116: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Preview':
Magick.xs:8672: warning: cast from pointer to integer of different size
Magick.c:8320: warning: unused variable `ref'
Magick.c:8315: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryColor':
Magick.c:8413: warning: unused variable `ref'
Magick.c:8408: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryColorname':
Magick.c:8489: warning: unused variable `ref'
Magick.c:8484: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryFont':
Magick.c:8559: warning: unused variable `ref'
Magick.c:8554: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryFontMetrics':
Magick.c:8674: warning: unused variable `ref'
Magick.c:8669: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryMultilineFontMetrics':
Magick.c:9032: warning: unused variable `ref'
Magick.c:9027: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryFormat':
Magick.c:9390: warning: unused variable `ref'
Magick.c:9385: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Read':
Magick.xs:9935: warning: cast from pointer to integer of different size
Magick.c:9478: warning: unused variable `ref'
Magick.c:9473: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Remote':
Magick.c:9677: warning: unused variable `ref'
Magick.c:9672: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Set':
Magick.c:9724: warning: unused variable `ref'
Magick.c:9719: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Statistics':
Magick.c:9782: warning: unused variable `ref'
Magick.c:9777: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Transform':
Magick.xs:10387: warning: cast from pointer to integer of different size
Magick.c:9954: warning: unused variable `ref'
Magick.c:9949: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Write':
Magick.c:10095: warning: unused variable `ref'
Magick.c:10090: warning: unused variable `ix'
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/usr/local/lib:/usr/lib" gcc -L../magick/.libs -L/usr/lib -G Magick.o -o blib/arch/auto/Image/Magick/Magick.so \
-L/usr/lib -L/usr/local/lib -L/usr/local/lib/ImageMagick-6.3.0 -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread \

chmod 755 blib/arch/auto/Image/Magick/Magick.so
cp Magick.bs blib/arch/auto/Image/Magick/Magick.bs
chmod 644 blib/arch/auto/Image/Magick/Magick.bs
Manifying blib/man3/Image::Magick.3
........................................................................................................................
make test
/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jng/*.t t/jpeg/*.t t/mpeg/*.t t/png/*.t t/ps/*.t t/tiff/*.t t/wmf/*.t t/x/*.t t/xfig/*.t t/zlib/*.t
../magick.sh: ../magick.sh: cannot open
make: *** [test_dynamic] Error 1
...........................................................................................................................
sudo make install
Password:
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Appending installation info to /usr/perl5/5.8.4/lib/sun4-solaris-64int/perllocal.pod
.............................................................................................................................
perl -MImage::Magick -e 'print $Image::Magick::VERSION'
Can't load '/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/auto/Image/Magick/Magick.so' for module Image::Magick: ld.so.1: perl: fatal: libexpat.so.0: open failed: No such file or directory at /usr/perl5/5.8.4/lib/sun4-solaris-64int/DynaLoader.pm line 230.
at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Installation issues for Image::Magick on Solaris 10

Post by magick »

magick.sh is no longer a dependency in recent versions of PerlMagick. The latest release is PerlMagick 6.72. You could also download the ImageMagick source which include PerlMagick. Build ImageMagick and install then build PerlMagick then install.
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

Thanks for the reply.

I want to use the newer version and below are my changes to the Makefile.PL from 6.29


'CCFLAGS' => "$Config{'ccflags'} -O3 -g -Wall",

'INC' => '-I../ -I.. -I/usr/include/freetype2 -I/usr/local/include/ -I/usr/include -I/usr/include/libxml2',

'LIBS' => ['-L/usr/lib -L/usr/local/lib -L/usr/local/lib/ImageMagick-6.3.0 -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread'],

Not sure how do i update Makefile.PL in the newer version of 6.72 for these 3 fields, can you please help me in updating these 3 fields in newer version(6.72)

my $INC_magick = trim(`MagickCore-config --cppflags`) . ' -I../ -I.. -I"' . $Config{'usrinc'} . '/ImageMagick" ';
my $LIBS_magick = '-L../magick/.libs -lMagickCore -lm -L' . $Config{'archlib'} . '/CORE';
my $CCFLAGS_magick = trim(`MagickCore-config --cflags`) . ' -fopenmp -g -O2 -Wall -pthread ' . $Config{'ccflags'};

Thanks..
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

I have tried running Makefile.PL for 6.72 version and below is the output.

perl Makefile.PL CC=gcc CCCDLFLAGS=-fPIC OPTIMIZE=" "
Killed
Killed
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: 'ARRAY(0xc228c)'
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
............................................................................................................................

Below is Makefile.PL for 6.72 version, can someone help me in correcting the same.

# Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
# dedicated to making software imaging solutions freely available.
#
# You may not use this file except in compliance with the License. You may
# obtain a copy of the License at
#
# http://www.imagemagick.org/script/license.php
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Exercise all regression tests:
#
# make test
#
# Exersise one regression test:
#
# make TEST_VERBOSE=1 TEST_FILES=t/filter.t test
#

use ExtUtils::MakeMaker;
use Config;
use File::Spec::Functions qw/catfile catdir devnull catpath splitpath/;
use Cwd;

sub AutodetectWin32gcc {
my $wrkdir = getcwd();
my $devnull = devnull();

my @incdir = ();
my @libdir = ($wrkdir);
my @bindir = ();

#try to get configuration info via identify or convert utilities
my $conf = `identify -list Configure 2>$devnull` || `convert -list Configure 2>$devnull`;
foreach my $line (split '\n', $conf) {
if ($line =~ /^Path:\s+(.*)/) {
my ($vol,$dir,$file) = splitpath($1);
next unless $dir;
my $dirpath = catpath( $vol, $dir);
my (@l,@b,@i) = ( (),(),() );

# try to detect 'lib' dir
push @l, catfile($dirpath,'..','lib');
push @l, catfile($dirpath,'..','..','lib');
push @l, catfile($dirpath,'..','..','..','lib');
foreach (@l) { push @libdir, $_ if (-d $_) };

# try to detect 'bin' dir
push @b, catfile($dirpath,'..');
push @b, catfile($dirpath,'..','bin');
push @b, catfile($dirpath,'..','..');
push @b, catfile($dirpath,'..','..','bin');
push @b, catfile($dirpath,'..','..','..');
push @b, catfile($dirpath,'..','..','..','bin');
foreach (@b) { push @bindir, $_ if (-e "$_/convert.exe" || -e "$_/identify.exe") };

# try to detect 'include' dir
push @i, catfile($dirpath,'..','include');
push @i, catfile($dirpath,'..','include','ImageMagick');
push @i, catfile($dirpath,'..','..','include');
push @i, catfile($dirpath,'..','..','include','ImageMagick');
push @i, catfile($dirpath,'..','..','..','include');
push @i, catfile($dirpath,'..','..','..','include','ImageMagick');
foreach (@i) { push @incdir, $_ if (-e "$_/magick/MagickCore.h") };
}
};

foreach my $bin (@bindir) {
opendir(my $bindir, $bin) or die qq{Cannot opendir $bin: $!};
my @dlls = map {catfile($bin, $_)} grep /^\S*magick[^\+]\S*?\.dll$/i, readdir $bindir;
foreach my $d (@dlls) {
unlink "$wrkdir/libMagickCore.def", "$wrkdir/libMagickCore.a";
system("pexports \"$d\" >\"$wrkdir/libMagickCore.def\" 2>$devnull");
open(DEF, "<$wrkdir/libMagickCore.def");
my @found = grep(/MagickCoreGenesis/, <DEF>); #checking if we have taken the right DLL
close(DEF);
next unless(@found);
print STDERR "Gonna create 'libMagickCore.a' from '$d'\n";
system("dlltool -D \"$d\" -d \"$wrkdir/libMagickCore.def\" -l \"$wrkdir/libMagickCore.a\" 2>$devnull");
last if -s "$wrkdir/libMagickCore.a";
}
last if -s "$wrkdir/libMagickCore.a";
}

unless(@incdir && @libdir && @bindir && (-s "$wrkdir/libMagickCore.a")) {
print STDERR <<EOF
################################### WARNING! ###################################
# It seems that you are trying to install Perl::Magick on a MS Windows box with
# perl + gcc compiler (e.g. strawberry perl), however we cannot find ImageMagick
# binaries installed on your system.
#
# Please check the following prerequisites:
#
# 1) You need to have installed ImageMagick Windows binaries from
# http://www.imagemagick.org/script/binar ... hp#windows
#
# 2) We only support dynamic (DLL) ImageMagick binaries
# note: it is not possible to mix 32/64-bit binaries of perl and ImageMagick
#
# 3) During installation select that you want to install ImageMagick's
# development files (libraries+headers)
#
# 4) You also need to have ImageMagick's directory in your PATH
# note: we are checking the presence of convert.exe and/or identify.exe tools
#
# 5) You might need Visual C++ Redistributable Package installed on your system
# see instructions on ImageMagick's Binary Release webpage
#
# We are gonna continue, but chances for successful build are very low!
################################################################################
EOF
}

my $inc = join ' ', map "-I\"$_\"", @incdir;
my $lib = join ' ', map "-L\"$_\"", @libdir;

return ($inc, $lib);
}

sub AutodetectDelegates {
#try to get configuration info via identify or convert utilities
my $devnull = devnull();
my $conf = `identify -list Configure 2>$devnull` || `convert -list Configure 2>$devnull`;
my @delegates = ();
foreach my $line (split '\n', $conf) {
next unless $line =~ /^DELEGATES\s+/;
(undef, @delegates) = split /\s+/, $line;
last;
};
return @delegates;
}

sub trim($)
{
my $string = shift;
$string =~ s/^\s+//;
$string =~ s/\s+$//;
return $string;
}

# Compute test specification
my $delegate_tests='t/*.t';
my @tested_delegates = qw/bzlib djvu fftw fontconfig freetype jpeg jng jp2 lcms mpeg png rsvg tiff x11 xml wmf zlib/;
my @supported_delegates = AutodetectDelegates();
# find the intersection of tested and supported delegates
my %seen_delegates = ();
$seen_delegates{$_}++ for @supported_delegates;
foreach my $delegate (@tested_delegates) {
if ( $seen_delegates{$delegate} ) {
if ( -d "t/$delegate" ) {
if ( defined($ENV{'DISPLAY'}) && ($^O ne 'MSWin32') ) {
if ( defined $ENV{'DISPLAY'} ) {
$delegate_tests .= " t/$delegate/*.t";
}
next;
}
$delegate_tests .= " t/$delegate/*.t";
}
}
}

# defaults for LIBS & INC & CCFLAGS params that we later pass to Writemakefile
my $INC_magick = '-I../ -I.. -I/usr/include/freetype2 -I/usr/local/include/ -I/usr/include -I/usr/include/libxml2',
my $LIBS_magick = ['-L/usr/lib -L/usr/local/lib -L/usr/local/lib/ImageMagick-6.3.0 -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt
-lbz2 -lz -lpthread -lm -lpthread'],
my $CCFLAGS_magick = "$Config{'ccflags'} -O3 -g -Wall",
my $LDFLAGS_magick = trim(`MagickCore-config --ldflags `) . ' -L../magick/.libs -lMagickCore ' . $Config{'ldflags'};
my $LDDLFLAGS_magick = '-L../magick/.libs -lMagickCore ' . $Config{'lddlflags'};

if (($^O eq 'MSWin32') && ($Config{cc} =~ /gcc/)) {
my($Ipaths, $Lpaths) = AutodetectWin32gcc();

#
# Setup for strawberry perl.
#
$INC_magick = "$Ipaths";
$LIBS_magick = "-lMagickCore";
$CCFLAGS_magick = "$Config{'ccflags'}";
$LDFLAGS_magick = "$Config{'ldflags'} $Lpaths ";
$LDDLFLAGS_magick = "$Config{'lddlflags'} $Lpaths ";
}

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile
(
# Module description
'ABSTRACT' => 'ImageMagick PERL Extension',

# Perl module name is Image::Magick
'NAME' => 'Image::Magick',

# Module author
'AUTHOR' => 'ImageMagick Studio LLC',

# Module version
'VERSION' => '6.72',

# Preprocessor defines
'DEFINE' => ' -D_LARGE_FILES=1 -DHAVE_CONFIG_H', # e.g., '-DHAVE_SOMETHING'

# Header search specfication and preprocessor flags
'INC' => $INC_magick,

# C compiler
#'CC' => 'gcc -std=gnu99 -std=gnu99',

# C pre-processor flags (e.g. -I & -D options)
# 'CPPFLAGS' => "$Config{'cppflags'} -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/i
nclude/libxml2",

# C compiler flags (e.g. -O -g)
'CCFLAGS' => $CCFLAGS_magick,

# Linker
#'LD' => $Config{'ld'} == $Config{'cc'} ? 'gcc -std=gnu99 -std=gnu99' : $Config{'ld'},

# Linker flags for building an executable
'LDFLAGS' => $LDFLAGS_magick,

# Linker flags for building a dynamically loadable module
'LDDLFLAGS' => $LDDLFLAGS_magick,

# Install PerlMagick binary into ImageMagick bin directory
'INSTALLBIN' => '/usr/local/bin',

# Library specification
'LIBS' => [ $LIBS_magick ],

# Perl binary name (if a Perl binary is built)
'MAP_TARGET' => 'PerlMagick',

# Let CFLAGS drive optimization flags by setting OPTIMIZE to empty
# 'OPTIMIZE' => '',

# Use same compiler as ImageMagick
'PERLMAINCC' => ' -fopenmp',

# Set Perl installation prefix to ImageMagick installation prefix
# 'PREFIX' => '/usr/local',

# Include delegate directories in tests
test => { TESTS => $delegate_tests},

($Config{'archname'} =~ /-object$/i ? ('CAPI' => 'TRUE') : ()),
);


#
# Substitutions for "makeaperl" section.
#
sub MY::makeaperl {
package MY; # so that "SUPER" works right
my $inherited = shift->SUPER::makeaperl(@_);

# Stinky ExtUtils::MM_Unix likes to append its own library path to $(CC),
# prior to any user-specified library path so that an installed library is
# used rather than the library just built. This substitution function
# tries to insert our library path first. Also, use the same compiler used
# to build perlmain.c to link so that a C++ compiler may be used if
# necessary.
$inherited =~ s:MAP_LINKCMD\s.*\s*\$\(CC\):MAP_LINKCMD = \$(PERLMAINCC) -L/usr/local/lib: ;
$inherited;
}
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Installation issues for Image::Magick on Solaris 10

Post by magick »

You must first configure ImageMagick which regenerates the Makefile.PL configuration file suited for your environment:
  • cd ImageMagick-6.7.2-2
    ./configure
    make
    make install
    cd PerlMagick
    perl Makefile.PL
    make
    make install
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

I have followed your steps and i ran configure and it ran successfully but got an error when i run make and please find the output of configure and make below.

Please advise..


Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.7.2
CC = /usr/local/bin/gcc -std=gnu99 -std=gnu99
CFLAGS = -g -O2 -Wall -D_REENTRANT -pthreads
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -Wl,-zlazyload
MAGICK_LDFLAGS = -L/usr/local/lib -Wl,-zlazyload
LIBS = -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -lsocket -lnsl -lbz2 -lxml2 -lz -lm -lpthread
CXX = g++
CXXFLAGS = -g -O2 -D_REENTRANT -pthreads
FEATURES =


make
/bin/bash ./config/mkinstalldirs . ltdl/
cp ./ltdl/argz_.h ltdl/argz.h-t
mv ltdl/argz.h-t ltdl/argz.h
make all-am
make[1]: Entering directory `/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-2'
CC magick/magick_libMagickCore_la-accelerate.lo
CC magick/magick_libMagickCore_la-animate.lo
CC magick/magick_libMagickCore_la-annotate.lo
CC magick/magick_libMagickCore_la-artifact.lo
CC magick/magick_libMagickCore_la-attribute.lo
CC magick/magick_libMagickCore_la-blob.lo
CC magick/magick_libMagickCore_la-cache.lo
CC magick/magick_libMagickCore_la-cache-view.lo
CC magick/magick_libMagickCore_la-cipher.lo
CC magick/magick_libMagickCore_la-client.lo
CC magick/magick_libMagickCore_la-coder.lo
CC magick/magick_libMagickCore_la-color.lo
CC magick/magick_libMagickCore_la-colormap.lo
CC magick/magick_libMagickCore_la-colorspace.lo
CC magick/magick_libMagickCore_la-compare.lo
CC magick/magick_libMagickCore_la-composite.lo
CC magick/magick_libMagickCore_la-compress.lo
CC magick/magick_libMagickCore_la-configure.lo
CC magick/magick_libMagickCore_la-constitute.lo
CC magick/magick_libMagickCore_la-decorate.lo
CC magick/magick_libMagickCore_la-delegate.lo
CC magick/magick_libMagickCore_la-deprecate.lo
CC magick/magick_libMagickCore_la-display.lo
CC magick/magick_libMagickCore_la-distort.lo
CC magick/magick_libMagickCore_la-draw.lo
CC magick/magick_libMagickCore_la-effect.lo
CC magick/magick_libMagickCore_la-enhance.lo
CC magick/magick_libMagickCore_la-exception.lo
CC magick/magick_libMagickCore_la-feature.lo
CC magick/magick_libMagickCore_la-fourier.lo
CC magick/magick_libMagickCore_la-fx.lo
CC magick/magick_libMagickCore_la-gem.lo
CC magick/magick_libMagickCore_la-geometry.lo
CC magick/magick_libMagickCore_la-hashmap.lo
CC magick/magick_libMagickCore_la-histogram.lo
CC magick/magick_libMagickCore_la-identify.lo
CC magick/magick_libMagickCore_la-image.lo
CC magick/magick_libMagickCore_la-image-view.lo
CC magick/magick_libMagickCore_la-layer.lo
CC magick/magick_libMagickCore_la-list.lo
CC magick/magick_libMagickCore_la-locale.lo
CC magick/magick_libMagickCore_la-log.lo
CC magick/magick_libMagickCore_la-magic.lo
CC magick/magick_libMagickCore_la-magick.lo
CC magick/magick_libMagickCore_la-matrix.lo
CC magick/magick_libMagickCore_la-memory.lo
CC magick/magick_libMagickCore_la-mime.lo
CC magick/magick_libMagickCore_la-module.lo
CC magick/magick_libMagickCore_la-monitor.lo
CC magick/magick_libMagickCore_la-montage.lo
CC magick/magick_libMagickCore_la-morphology.lo
CC magick/magick_libMagickCore_la-option.lo
CC magick/magick_libMagickCore_la-paint.lo
CC magick/magick_libMagickCore_la-pixel.lo
CC magick/magick_libMagickCore_la-policy.lo
CC magick/magick_libMagickCore_la-PreRvIcccm.lo
CC magick/magick_libMagickCore_la-prepress.lo
CC magick/magick_libMagickCore_la-property.lo
CC magick/magick_libMagickCore_la-profile.lo
CC magick/magick_libMagickCore_la-quantize.lo
CC magick/magick_libMagickCore_la-quantum.lo
CC magick/magick_libMagickCore_la-quantum-export.lo
CC magick/magick_libMagickCore_la-quantum-import.lo
CC magick/magick_libMagickCore_la-random.lo
CC magick/magick_libMagickCore_la-registry.lo
CC magick/magick_libMagickCore_la-resample.lo
CC magick/magick_libMagickCore_la-resize.lo
CC magick/magick_libMagickCore_la-resource.lo
CC magick/magick_libMagickCore_la-segment.lo
CC magick/magick_libMagickCore_la-semaphore.lo
CC magick/magick_libMagickCore_la-shear.lo
CC magick/magick_libMagickCore_la-signature.lo
CC magick/magick_libMagickCore_la-splay-tree.lo
CC magick/magick_libMagickCore_la-static.lo
CC magick/magick_libMagickCore_la-statistic.lo
CC magick/magick_libMagickCore_la-stream.lo
CC magick/magick_libMagickCore_la-string.lo
CC magick/magick_libMagickCore_la-thread.lo
CC magick/magick_libMagickCore_la-timer.lo
CC magick/magick_libMagickCore_la-token.lo
CC magick/magick_libMagickCore_la-transform.lo
CC magick/magick_libMagickCore_la-threshold.lo
CC magick/magick_libMagickCore_la-type.lo
CC magick/magick_libMagickCore_la-utility.lo
CC magick/magick_libMagickCore_la-version.lo
CC magick/magick_libMagickCore_la-widget.lo
CC magick/magick_libMagickCore_la-xml-tree.lo
CC magick/magick_libMagickCore_la-xwindow.lo
CC coders/magick_libMagickCore_la-aai.lo
CC coders/magick_libMagickCore_la-art.lo
CC coders/magick_libMagickCore_la-avs.lo
CC coders/magick_libMagickCore_la-bgr.lo
CC coders/magick_libMagickCore_la-bmp.lo
CC coders/magick_libMagickCore_la-braille.lo
CC coders/magick_libMagickCore_la-cals.lo
CC coders/magick_libMagickCore_la-caption.lo
CC coders/magick_libMagickCore_la-cin.lo
CC coders/magick_libMagickCore_la-cip.lo
CC coders/magick_libMagickCore_la-clip.lo
CC coders/magick_libMagickCore_la-cmyk.lo
CC coders/magick_libMagickCore_la-cut.lo
CC coders/magick_libMagickCore_la-dcm.lo
CC coders/magick_libMagickCore_la-dds.lo
CC coders/magick_libMagickCore_la-debug.lo
CC coders/magick_libMagickCore_la-dib.lo
CC coders/magick_libMagickCore_la-dng.lo
CC coders/magick_libMagickCore_la-dot.lo
CC coders/magick_libMagickCore_la-dpx.lo
CC coders/magick_libMagickCore_la-fax.lo
CC coders/magick_libMagickCore_la-fits.lo
CC coders/magick_libMagickCore_la-gif.lo
CC coders/magick_libMagickCore_la-gradient.lo
CC coders/magick_libMagickCore_la-gray.lo
CC coders/magick_libMagickCore_la-hald.lo
CC coders/magick_libMagickCore_la-hdr.lo
CC coders/magick_libMagickCore_la-histogram.lo
CC coders/magick_libMagickCore_la-hrz.lo
CC coders/magick_libMagickCore_la-html.lo
CC coders/magick_libMagickCore_la-icon.lo
CC coders/magick_libMagickCore_la-info.lo
CC coders/magick_libMagickCore_la-inline.lo
CC coders/magick_libMagickCore_la-ipl.lo
CC coders/magick_libMagickCore_la-label.lo
CC coders/magick_libMagickCore_la-mac.lo
CC coders/magick_libMagickCore_la-magick.lo
CC coders/magick_libMagickCore_la-map.lo
CC coders/magick_libMagickCore_la-mat.lo
CC coders/magick_libMagickCore_la-matte.lo
CC coders/magick_libMagickCore_la-meta.lo
CC coders/magick_libMagickCore_la-miff.lo
coders/miff.c: In function `WriteMIFFImage':
coders/miff.c:1939: warning: implicit declaration of function `IsImageGray'
coders/miff.c:1939: error: `exception' undeclared (first use in this function)
coders/miff.c:1939: error: (Each undeclared identifier is reported only once
coders/miff.c:1939: error: for each function it appears in.)
make[1]: *** [coders/magick_libMagickCore_la-miff.lo] Error 1
make[1]: Leaving directory `/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-2'
make: *** [all] Error 2
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Installation issues for Image::Magick on Solaris 10

Post by magick »

ImagMagick 6.7.2-2 is a beta release. We fixed the problem so you can try downloading it again but try grabbing the stable release 6.7.2-1.
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

I have tried installing ImageMagick-6.7.2-1 and below is the output of configure and make.

Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.7.2
CC = /usr/local/bin/gcc -std=gnu99 -std=gnu99
CFLAGS = -g -O2 -Wall -D_REENTRANT -pthreads
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -Wl,-zlazyload
MAGICK_LDFLAGS = -L/usr/local/lib -Wl,-zlazyload
LIBS = -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -lsocket -lnsl -lbz2 -lxml2 -lz -lm -lpthread
CXX = g++
CXXFLAGS = -g -O2 -D_REENTRANT -pthreads
FEATURES =


make
/bin/bash ./config/mkinstalldirs . ltdl/
cp ./ltdl/argz_.h ltdl/argz.h-t
mv ltdl/argz.h-t ltdl/argz.h
make all-am
make[1]: Entering directory `/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1'
CC magick/magick_libMagickCore_la-accelerate.lo
CC magick/magick_libMagickCore_la-animate.lo
CC magick/magick_libMagickCore_la-annotate.lo
CC magick/magick_libMagickCore_la-artifact.lo
CC magick/magick_libMagickCore_la-attribute.lo
CC magick/magick_libMagickCore_la-blob.lo
CC magick/magick_libMagickCore_la-cache.lo
CC magick/magick_libMagickCore_la-cache-view.lo
CC magick/magick_libMagickCore_la-cipher.lo
CC magick/magick_libMagickCore_la-client.lo
CC magick/magick_libMagickCore_la-coder.lo
CC magick/magick_libMagickCore_la-color.lo
CC magick/magick_libMagickCore_la-colormap.lo
CC magick/magick_libMagickCore_la-colorspace.lo
CC magick/magick_libMagickCore_la-compare.lo
CC magick/magick_libMagickCore_la-composite.lo
CC magick/magick_libMagickCore_la-compress.lo
CC magick/magick_libMagickCore_la-configure.lo
CC magick/magick_libMagickCore_la-constitute.lo
CC magick/magick_libMagickCore_la-decorate.lo
CC magick/magick_libMagickCore_la-delegate.lo
CC magick/magick_libMagickCore_la-deprecate.lo
CC magick/magick_libMagickCore_la-display.lo
CC magick/magick_libMagickCore_la-distort.lo
CC magick/magick_libMagickCore_la-draw.lo
CC magick/magick_libMagickCore_la-effect.lo
CC magick/magick_libMagickCore_la-enhance.lo
CC magick/magick_libMagickCore_la-exception.lo
CC magick/magick_libMagickCore_la-feature.lo
CC magick/magick_libMagickCore_la-fourier.lo
CC magick/magick_libMagickCore_la-fx.lo
CC magick/magick_libMagickCore_la-gem.lo
CC magick/magick_libMagickCore_la-geometry.lo
CC magick/magick_libMagickCore_la-hashmap.lo
CC magick/magick_libMagickCore_la-histogram.lo
CC magick/magick_libMagickCore_la-identify.lo
CC magick/magick_libMagickCore_la-image.lo
CC magick/magick_libMagickCore_la-image-view.lo
CC magick/magick_libMagickCore_la-layer.lo
CC magick/magick_libMagickCore_la-list.lo
CC magick/magick_libMagickCore_la-locale.lo
CC magick/magick_libMagickCore_la-log.lo
CC magick/magick_libMagickCore_la-magic.lo
CC magick/magick_libMagickCore_la-magick.lo
CC magick/magick_libMagickCore_la-matrix.lo
CC magick/magick_libMagickCore_la-memory.lo
CC magick/magick_libMagickCore_la-mime.lo
CC magick/magick_libMagickCore_la-module.lo
CC magick/magick_libMagickCore_la-monitor.lo
CC magick/magick_libMagickCore_la-montage.lo
CC magick/magick_libMagickCore_la-morphology.lo
CC magick/magick_libMagickCore_la-option.lo
CC magick/magick_libMagickCore_la-paint.lo
CC magick/magick_libMagickCore_la-pixel.lo
CC magick/magick_libMagickCore_la-policy.lo
CC magick/magick_libMagickCore_la-PreRvIcccm.lo
CC magick/magick_libMagickCore_la-prepress.lo
CC magick/magick_libMagickCore_la-property.lo
CC magick/magick_libMagickCore_la-profile.lo
CC magick/magick_libMagickCore_la-quantize.lo
CC magick/magick_libMagickCore_la-quantum.lo
CC magick/magick_libMagickCore_la-quantum-export.lo
CC magick/magick_libMagickCore_la-quantum-import.lo
CC magick/magick_libMagickCore_la-random.lo
CC magick/magick_libMagickCore_la-registry.lo
CC magick/magick_libMagickCore_la-resample.lo
CC magick/magick_libMagickCore_la-resize.lo
CC magick/magick_libMagickCore_la-resource.lo
CC magick/magick_libMagickCore_la-segment.lo
CC magick/magick_libMagickCore_la-semaphore.lo
CC magick/magick_libMagickCore_la-shear.lo
CC magick/magick_libMagickCore_la-signature.lo
CC magick/magick_libMagickCore_la-splay-tree.lo
CC magick/magick_libMagickCore_la-static.lo
CC magick/magick_libMagickCore_la-statistic.lo
CC magick/magick_libMagickCore_la-stream.lo
CC magick/magick_libMagickCore_la-string.lo
CC magick/magick_libMagickCore_la-thread.lo
CC magick/magick_libMagickCore_la-timer.lo
CC magick/magick_libMagickCore_la-token.lo
CC magick/magick_libMagickCore_la-transform.lo
CC magick/magick_libMagickCore_la-threshold.lo
CC magick/magick_libMagickCore_la-type.lo
CC magick/magick_libMagickCore_la-utility.lo
CC magick/magick_libMagickCore_la-version.lo
CC magick/magick_libMagickCore_la-widget.lo
CC magick/magick_libMagickCore_la-xml-tree.lo
CC magick/magick_libMagickCore_la-xwindow.lo
CC coders/magick_libMagickCore_la-aai.lo
CC coders/magick_libMagickCore_la-art.lo
CC coders/magick_libMagickCore_la-avs.lo
CC coders/magick_libMagickCore_la-bgr.lo
CC coders/magick_libMagickCore_la-bmp.lo
CC coders/magick_libMagickCore_la-braille.lo
CC coders/magick_libMagickCore_la-cals.lo
CC coders/magick_libMagickCore_la-caption.lo
CC coders/magick_libMagickCore_la-cin.lo
CC coders/magick_libMagickCore_la-cip.lo
CC coders/magick_libMagickCore_la-clip.lo
CC coders/magick_libMagickCore_la-cmyk.lo
CC coders/magick_libMagickCore_la-cut.lo
CC coders/magick_libMagickCore_la-dcm.lo
CC coders/magick_libMagickCore_la-dds.lo
CC coders/magick_libMagickCore_la-debug.lo
CC coders/magick_libMagickCore_la-dib.lo
CC coders/magick_libMagickCore_la-dng.lo
CC coders/magick_libMagickCore_la-dot.lo
CC coders/magick_libMagickCore_la-dpx.lo
CC coders/magick_libMagickCore_la-fax.lo
CC coders/magick_libMagickCore_la-fits.lo
CC coders/magick_libMagickCore_la-gif.lo
CC coders/magick_libMagickCore_la-gradient.lo
CC coders/magick_libMagickCore_la-gray.lo
CC coders/magick_libMagickCore_la-hald.lo
CC coders/magick_libMagickCore_la-hdr.lo
CC coders/magick_libMagickCore_la-histogram.lo
CC coders/magick_libMagickCore_la-hrz.lo
CC coders/magick_libMagickCore_la-html.lo
CC coders/magick_libMagickCore_la-icon.lo
CC coders/magick_libMagickCore_la-info.lo
CC coders/magick_libMagickCore_la-inline.lo
CC coders/magick_libMagickCore_la-ipl.lo
CC coders/magick_libMagickCore_la-label.lo
CC coders/magick_libMagickCore_la-mac.lo
CC coders/magick_libMagickCore_la-magick.lo
CC coders/magick_libMagickCore_la-map.lo
CC coders/magick_libMagickCore_la-mat.lo
CC coders/magick_libMagickCore_la-matte.lo
CC coders/magick_libMagickCore_la-meta.lo
CC coders/magick_libMagickCore_la-miff.lo
CC coders/magick_libMagickCore_la-mono.lo
CC coders/magick_libMagickCore_la-mpc.lo
CC coders/magick_libMagickCore_la-mpeg.lo
CC coders/magick_libMagickCore_la-mpr.lo
CC coders/magick_libMagickCore_la-msl.lo
CC coders/magick_libMagickCore_la-mtv.lo
CC coders/magick_libMagickCore_la-mvg.lo
CC coders/magick_libMagickCore_la-null.lo
CC coders/magick_libMagickCore_la-otb.lo
CC coders/magick_libMagickCore_la-palm.lo
CC coders/magick_libMagickCore_la-pattern.lo
CC coders/magick_libMagickCore_la-pcd.lo
CC coders/magick_libMagickCore_la-pcl.lo
CC coders/magick_libMagickCore_la-pcx.lo
CC coders/magick_libMagickCore_la-pdb.lo
CC coders/magick_libMagickCore_la-pdf.lo
CC coders/magick_libMagickCore_la-pes.lo
CC coders/magick_libMagickCore_la-pict.lo
CC coders/magick_libMagickCore_la-pix.lo
CC coders/magick_libMagickCore_la-plasma.lo
CC coders/magick_libMagickCore_la-pnm.lo
CC coders/magick_libMagickCore_la-preview.lo
CC coders/magick_libMagickCore_la-ps.lo
CC coders/magick_libMagickCore_la-ps2.lo
CC coders/magick_libMagickCore_la-ps3.lo
CC coders/magick_libMagickCore_la-psd.lo
CC coders/magick_libMagickCore_la-pwp.lo
CC coders/magick_libMagickCore_la-raw.lo
CC coders/magick_libMagickCore_la-rgb.lo
CC coders/magick_libMagickCore_la-rla.lo
CC coders/magick_libMagickCore_la-rle.lo
CC coders/magick_libMagickCore_la-scr.lo
CC coders/magick_libMagickCore_la-sct.lo
CC coders/magick_libMagickCore_la-sfw.lo
CC coders/magick_libMagickCore_la-sgi.lo
CC coders/magick_libMagickCore_la-stegano.lo
CC coders/magick_libMagickCore_la-sun.lo
CC coders/magick_libMagickCore_la-svg.lo
CC coders/magick_libMagickCore_la-tga.lo
CC coders/magick_libMagickCore_la-thumbnail.lo
CC coders/magick_libMagickCore_la-tile.lo
CC coders/magick_libMagickCore_la-tim.lo
CC coders/magick_libMagickCore_la-ttf.lo
CC coders/magick_libMagickCore_la-txt.lo
CC coders/magick_libMagickCore_la-uil.lo
CC coders/magick_libMagickCore_la-url.lo
CC coders/magick_libMagickCore_la-uyvy.lo
CC coders/magick_libMagickCore_la-vicar.lo
CC coders/magick_libMagickCore_la-vid.lo
CC coders/magick_libMagickCore_la-viff.lo
CC coders/magick_libMagickCore_la-wbmp.lo
CC coders/magick_libMagickCore_la-wpg.lo
CC coders/magick_libMagickCore_la-xbm.lo
CC coders/magick_libMagickCore_la-xc.lo
CC coders/magick_libMagickCore_la-xcf.lo
CC coders/magick_libMagickCore_la-xpm.lo
CC coders/magick_libMagickCore_la-xps.lo
CC coders/magick_libMagickCore_la-ycbcr.lo
CC coders/magick_libMagickCore_la-yuv.lo
CC coders/magick_libMagickCore_la-jpeg.lo
CC coders/magick_libMagickCore_la-png.lo
CC coders/magick_libMagickCore_la-ept.lo
CC coders/magick_libMagickCore_la-tiff.lo
CC coders/magick_libMagickCore_la-x.lo
CC coders/magick_libMagickCore_la-xwd.lo
CC filters/magick_libMagickCore_la-analyze.lo
CC ltdl/loaders/ltdl_libltdlc_la-preopen.lo
CC ltdl/ltdl_libltdlc_la-lt__alloc.lo
CC ltdl/ltdl_libltdlc_la-lt_dlloader.lo
CC ltdl/ltdl_libltdlc_la-lt_error.lo
CC ltdl/ltdl_libltdlc_la-ltdl.lo
CC ltdl/ltdl_libltdlc_la-slist.lo
CC ltdl/loaders/dlopen.lo
CCLD ltdl/dlopen.la
CC ltdl/argz.lo
CCLD ltdl/libltdlc.la
CCLD magick/libMagickCore.la
ggrep: /usr/local/lib/libexpat.la: No such file or directory
Can't open /usr/local/lib/libexpat.la
libtool: link: `/usr/local/lib/libexpat.la' is not a valid libtool archive
make[1]: *** [magick/libMagickCore.la] Error 1
make[1]: Leaving directory `/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1'
make: *** [all] Error 2
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Installation issues for Image::Magick on Solaris 10

Post by magick »

One of your delegate libraries has a dependency on libexpat, most likely XML. You can either fix the problem with libXML / libexpat or disable XML support with --without-xml option on the configure script command line. You might also try building ImageMagick statically, that may work. Add --disable-shared to your configure script command line and rebuild ImageMagick.
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

Now i will run "make clean" and then run ./configure --disable-shared

Please correct me if i am wrong.

Thanks for the fast response.
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

Again i got the same error below when running make.

CCLD magick/libMagickCore.la
ggrep: /usr/local/lib/libexpat.la: No such file or directory
Can't open /usr/local/lib/libexpat.la
libtool: link: `/usr/local/lib/libexpat.la' is not a valid libtool archive
make[1]: *** [magick/libMagickCore.la] Error 1
make[1]: Leaving directory `/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1'
make: *** [all] Error 2

I tried to run "make clean" before and then ran ./configure --disable-shared then make.

Please assist how to proceed further.
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

I tried running configure with ./configure --without-xml , but still seeing same errors when running make.

ggrep: /usr/local/lib/libexpat.la: No such file or directory
Can't open /usr/local/lib/libexpat.la
libtool: link: `/usr/local/lib/libexpat.la' is not a valid libtool archive
make[1]: *** [magick/libMagickCore.la] Error 1
make[1]: Leaving directory `/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1'
make: *** [all] Error 2
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Installation issues for Image::Magick on Solaris 10

Post by magick »

ImageMagick does not depend on libexpat. One of the delegate library dependencies does. You could try downloading and reinstall libexpat. That might fix the problem.
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

If possible can you please provide me with download details and instructions for libexpat.

Thanks for your help..
prash358
Posts: 36
Joined: 2011-09-01T09:40:03-07:00
Authentication code: 8675308

Re: Installation issues for Image::Magick on Solaris 10

Post by prash358 »

Can you please provide me with the download url and i have been trying to find the library but could not able to find it. Please help me in finding the libexpat library.

Appreciate your help..
Post Reply