Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

GD make test problem
I´m trying to install GD-2.19 and I´m having problem during "make
teste".

My softwares are:

- Solaris 8
- gcc_small-3.3.2 and libiconv-1.8 (from Sunfreeware)
- perl-5.8.5 (from source)
- xpm-3.4k (from Sunfreeware)
- freetype-2.1.7 (from Sunfreeware)
- libpng-1.2.7 (from Sunfreeware)
- zlib-1.2.1 (from Sunfreeware)
- jpeg-6b (from Sunfreeware)
- gd-2.0.32 (from source)

The GD2.19 compiles, but when I run "make test", I have the following
errors:

 ========================================
====================================
====machine
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD:
ld.so.1: /usr/local/bin/perl: fatal: relocation error: file
/usr/local/lib/libgd.so.2: symbol libiconv_open: referenced symbol not
found at /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line
230.
at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
t/GD..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Polyline....Can't load
'/home/install/GD-2.19/blib/arch/auto/GD/GD.so' for module GD:
ld.so.1: /usr/local/bin/perl: fatal: relocation error: file
/usr/local/lib/libgd.so.2: symbol libiconv_open: referenced symbol not
found at /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line
230.
at /home/install/GD-2.19/blib/lib/GD/Polyline.pm line 45
Compilation failed in require at
/home/install/GD-2.19/blib/lib/GD/Polyline.pm line 45.
BEGIN failed--compilation aborted at
/home/install/GD-2.19/blib/lib/GD/Polyline.pm line 45.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/GD.t        255 65280    10   19 190.00%  1-10
t/Polyline.t  255 65280     1    2 200.00%  1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00%
okay.
make: *** [test_dynamic] Error 2
 ========================================
====================================
====

What I have noticed is that whe I run "perl Makefile.PL" I receive the
message:

======
Unrecognized argument in LIBS ignored: '/usr/local/lib/libiconv.so'
======

It seems that the error message is related whith the message above.

Could anyone help me? I think that this problem is affecting many
Solaris users, like me.

Thanks in advance,

Rodney

Report this thread to moderator Post Follow-up to this message
Old Post
rodneyr
11-29-04 08:59 PM


Re: GD make test problem
Here I write how I handle this and successfuly work around this
problem:
1) The situation is the same. I also after executing "perl Makefile.PL"
get following:
Unrecognized argument in LIBS ignored: '/usr/local/lib/libiconv.so'
Unrecognized argument in LIBS ignored: '-Wl,-rpath'
Unrecognized argument in LIBS ignored: '-Wl,/usr/local/lib'

2) Then I decide to check what is in @LIBS:
I add in Makefile.PL after "@LIBS    = qw(-lgd -lpng -lz) unless
@LIBS;" this:
print "|$_|\n" foreach @LIBS;

3) Run again "perl Makefile.PL" and the output was:
|-ljpeg|
|-lfontconfig|
|-lfreetype|
|-lpng12|
|-lz|
|-lm|
|/usr/local/lib/libiconv.so|
|-Wl,-rpath|
|-Wl,/usr/local/lib|
|-lgd|

4) So, I decide to remove the items "/usr/local/lib/libiconv.so",
"-Wl,-rpath" and "-Wl,/usr/local/lib" from the list and
following the Lincoln's advice add -liconv to the list of libraries:
I add in Makefile.PL after "@LIBS    = qw(-lgd -lpng -lz) unless
@LIBS;" this:
@LIBS    = qw(-liconv -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm
-lgd);
(and I don't forget to remove this: print "|$_|\n" foreach @LIBS;)

Now, when running again "perl Makefile.PL", make, make test there is no
any problems and GD.pm is working as well.

Pavel Petrov
ue-varna.bg


Report this thread to moderator Post Follow-up to this message
Old Post
Pavel Petrov
12-22-04 08:58 PM


Re: GD make test problem
of stuffing in the wrap, roll tightly -
corner nearest you first, fold 2 side corners in,
wrap till remaining corner is left.
Brush with egg, seal, and allow to sit on the seal for
a few minutes.
Fry the rolls:
325° if using egg roll wraps, 350° for spring roll wraps.
Deep fry in peanut oil till crispy golden brown, drain on paper towels.



Lemon Neonate

Turkey serves just as well, and in fact even looks a bit like a
well-dressed baby. By the time you turn the child?s breast into
cutlets, it will be indistinguishable. The taste of young human,
although similar to turkey (and chicken) often can be wildly
different depending upon what he or she has consumed during its
10 to 14 months of life...

4 well chosen cutlets (from the breasts of 2 healthy neonates)
2 large lemons (fresh lemons always, if possible)
Olive oil
Green onions
Salt
pepper
cornstarch
neonate stock (chicken, or turkey stock is fine)
garlic
parsley
fresh cracked black pepper

Season and sauté the cutlets in olive oil till g



Report this thread to moderator Post Follow-up to this message
Old Post
Pavel Petrov
12-28-04 01:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Modules archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:40 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.