Solaris 9

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
KaptainKarl
In need of some credit
In need of some credit
Posts: 3
Joined: Wed Jan 12, 2005 4:12 pm
Location: Texas, USA

Solaris 9

Post by KaptainKarl » Wed Jan 12, 2005 4:18 pm

I am trying wxWidgets for the first time. I am attempting to install wxAll 2.4.2 on a Solaris 9 SPARC machine.

I get errors during "configure" when I attempt to use X11 saying the libraries are not present (which they are, and in my LD_LIBRARY_PATH variable). I can get configure to complete using GTK, but then the compile fails since it can't seem to find the appropriate X11 include files.

Could somebody help a newbie out?

(I am using the gcc compiler.)

Thanks,

Karl

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Wed Jan 12, 2005 4:23 pm

To build Chinook I needed to add the following command to the build line:

-rpath /usr/X11R6/lib

Solaris 9 Intel / GCC 3.4.1

HTH

Chris

KaptainKarl
In need of some credit
In need of some credit
Posts: 3
Joined: Wed Jan 12, 2005 4:12 pm
Location: Texas, USA

Post by KaptainKarl » Wed Jan 12, 2005 5:16 pm

Is wxWidgest supported on SPARC based systems or only Solaris for Intel?

Karl

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Wed Jan 12, 2005 5:22 pm

I haven't built it on sparc (yet) but it should work with intel/sparc. I have read posts on the newsgroup from people who are using it on sparc.

CG

KaptainKarl
In need of some credit
In need of some credit
Posts: 3
Joined: Wed Jan 12, 2005 4:12 pm
Location: Texas, USA

Post by KaptainKarl » Wed Jan 12, 2005 8:29 pm

If anyone that has successfully installed it under Solaris 9 on a SPARC reads this, please let me know if there are patches I need to install to get it to work.

Thanks,

Karl

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Thu Jan 13, 2005 3:45 pm

I will try 2.4.2 today and let you know. I took a look for where they are and they appear to be installed from SUNWxw* packages. SUNWwxinc etc. They reside in /usr/include/X11.

You could try adding that to your path and re running configure.

HTH

Chris

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Thu Jan 13, 2005 4:13 pm

I forgot to mention you can run this command to see if you you have the headers installed:

grep SUNWxwinc /var/sadm/install/contents

HTH

Chris

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Thu Jan 13, 2005 5:04 pm

I built 2.4.2 and tested a few of the samples. I had to add /usr/sfw/bin to my path so configure could find gtk-config.

I guess you need to confirm if the headers are installed in /usr/include/X11. If they aren't they you will need to install them off the cds.

HTH

Chris

Post Reply