Patches item #1763275, was opened at 2007-07-30 00:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302915&aid=1763275&group_id=2915

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Udo Grabowski (brightstar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solaris 10 x86 issues

Initial Comment:
Hi, 

I managed to get a running Solaris 10 x86 build of plplot 5.7.3. Important 
note: CMAKE is not available
for this platform, so please keep the old method !

The following configuration works somehow, but with some issues shown below:

Issue 1: -mieee_fp option in configure must be 
replaced by -xlibmieee .

setenv CC cc; setenv CXX CC; 

setenv FFLAGS '-xs -g -O3 -xtarget=opteron -ftrap=common,no%underflow -xildoff';

setenv LD_LIBRARY_PATH /opt/sfw/lib:/usr/sfw/lib ;

./configure --enable-f95 --with-pthreads --enable-xterm --enable-tek4010 
--enable-tek4107 --disable-cgm --disable-python --disable-gtktest 
--disable-java --with-gd-incdir=/opt/sfw/include --enable-freetype 
--with-freetype2-incdir=/usr/sfw/include/ 
--with-freetype-font-dir=/usr/openwin/lib/X11/fonts/TrueType CC=cc CXX=CC 
F77=f95 FCFLAGS=-xs -g -O3 -xtarget=opteron -ftrap=common,no%underflow  
-xildoff FFLAGS=-xs -g -O3 -xtarget=opteron -ftrap=common,no%underflow  
-xildoff --enable-ltdl-convenience

host:           i386-pc-solaris2.11
have_x:         yes
prefix:         /usr/local
CC CFLAGS:      cc -g -xlibmieee
CXX CXXFLAGS:   CC -g -xlibmieee
F77 FFLAGS:     f95 -xs -g -O3 -xtarget=opteron -ftrap=common,no%underflow  
-xildoff
FC FCFLAGS:     f95 -xs -g -O3 -xtarget=opteron -ftrap=common,no%underflow  
-xildoff
LIB_TAG:        d
devices:         png jpeg hp7470 hp7580 lj_hpgl gcw mem null pbm plmeta ps 
xterm tek4010 tek4107 xfig xwin

Available device drivers:
static:         
dynamic:        gd.la hpgl.la gcw.la mem.la null.la pbm.la plmeta.la ps.la 
tek.la xfig.la xwin.la

Compilation options:
with_debug:     no

Library options:
enable_shared:  yes             enable_static:  yes
with_rpath:     yes             with_double:    yes

Optional libraries:
with_qhull:     no              with_csa:       yes
with_freetype:  yes             with_pthreads:  yes

Language Bindings:
enable_f77:     yes             enable_f95:     yes
enable_cxx:     yes             enable_java:    no
enable_python:  no              enable_octave:  no
enable_tcl:     no              enable_itcl:    no
enable_pdl:     no


I've not enabled tcl/tk, perl, or java (no swig yet).
With this config, I get libgd version 2.x on this platform has 
gdImageGetTrueColorPixel not as a global symbol anymore, and the macro defined 
in gd.h is not used (?) .

Issue 2:
A small patch avoids using the (anyway outdated)
use of this function:

//### Patch grabow 29-Jul-2007 for gd 2.x
//   colour=gdImageGetTrueColorPixel(dev->im_out, x, y);
//
#if GD2_VERS >= 2
   colour=gdImageGetPixel(dev->im_out, x, y);
#else
   colour=gdImageGetTrueColorPixel(dev->im_out, x, y);
#endif
//### end Patch

Issue 3 (unresolved):
I've cannot get --gnome-enable, because there is no
gnome-config, but 'pkg-config gnome-yyy', but I've
not found the equivalent call, so maybe I should
build an appropriate gnome-config for that system.
 
So far I've tested all drivers enabled, and it looks 
all ok !



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302915&aid=1763275&group_id=2915

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to