Subject: build graphics/gd failed in NetBSD 2.1 without x11
To: None <tech-pkg@netbsd.org>
From: Ji YongGang <jungle@soforge.com>
List: tech-pkg
Date: 11/29/2005 17:35:16
Hi,

When I build the newest graphics/gd in a non-x11 machine, I got
following error message:

===> Checking for vulnerabilities in gd-2.0.33nb1
===> Building for gd-2.0.33nb1
--- config.h ---
--- all ---
/usr/bin/make  all-recursive
Making all in config
--- Makefile ---
Making all in test
--- Makefile ---
make: make: don't know how to make ./libgd.la. Stop
*** Error code 1

Stop.
make: stopped in /usr/obj/pkg/graphics/gd/work/gd-2.0.33
*** [all] Error code 1
1 error

make: stopped in /usr/obj/pkg/graphics/gd/work/gd-2.0.33
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/graphics/gd
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/obj/pkg/graphics/gd/work/.work.log
===>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/gd


On my desktop box, the gd build is success, I compared the two Makefile
in the work/gd-2.0.33 generated by configure script, the different is
only associate with X11 things, e.g.

-LDFLAGS =  -L/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread 
+LDFLAGS =  -L/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/X11R6/lib

I checked the mailing list and log, they said ``remove X11/Xpm support
in graphics/gd'' after 2004/6/20. 

But when I `make configure', and `cd work/gd-2.0.33', in this
directory the `make' build work well...

Any hint?

TIA
-- 
                        _      
 o                     | |     
           _  _    __, | |  _  
 | |   |  / |/ |  /  | |/  |/  
 |/ \_/|_/  |  |_/\_/|/|__/|__/
/|                  /|         
\|                  \|