Welcome, Guest. Please Login.
OpenDX User Forum
01/18/18 at 18:28:19
News: Quality paid support available from Visualization and Imagery Solutions


Pages: 1
The errs of compile the opendx on Suse system (Read 9117 times)
javacfish
Forum Newbie
*


Got Viz?

Posts: 2
The errs of compile the opendx on Suse system
03/28/10 at 09:01:38
 
Hello , every one!
 
I compile the opendx on the Suse linux system, the compiler is gcc4.1, but when  I use the "make" command and some errs happen:
Code:
EditorWindow.C: In member function ‘boolean EditorWindow::javifyNetwork()’:
EditorWindow.C:7170: warning: deprecated conversion from string constant to ‘char*’
EditorWindow.C: In member function ‘void EditorWindow::setUndoActivation()’:
EditorWindow.C:7545: warning: deprecated conversion from string constant to ‘char*’
make[4]: *** [EditorWindow.o] Error 1
make[4]: Leaving directory `/home/bai/soft/dx-4.4.4/src/uipp/dxuilib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bai/soft/dx-4.4.4/src/uipp/dxuilib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bai/soft/dx-4.4.4/src/uipp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bai/soft/dx-4.4.4/src'
make: *** [all-recursive] Error 1
 


 
what is wrong with it and how to solved it ?
 
Thanks  
 
javacfish
Back to top
 
« Last Edit: 03/28/10 at 20:45:41 by javacfish »  
  IP Logged
DobryGron
Forum Newbie
*


Got Viz?

Posts: 1
The errs of compile the opendx on Suse system
Reply #1 - 11/14/10 at 07:38:30
 
Are there any plans to support SUSE sometime in the near future?
Back to top
 
 
  IP Logged
joelr
OpenDX Forum Administrator
*****


Got Viz?

Posts: 371
Re: The errs of compile the opendx on Suse system
Reply #2 - 11/16/10 at 04:37:28
 

Don't know much about this myself, but I know people have asked about Suse
on this forum in the past. There might be some useful info if you try searching
the posts.
Back to top
 
 
Email   IP Logged
GNE
Junior Member
**


Got Viz?

Posts: 28
Re: The errs of compile the opendx on Suse system
Reply #3 - 11/17/10 at 09:03:51
 
Hello,
 
OpenDX is part of the standard openSUSE 11.3 distribution. Look for the packages dx, dx-data, dx-devel and dx-doc.
 
Regards,
GNE
Back to top
 
 
  IP Logged
balden
Forum Newbie
*


Got Viz?

Posts: 14
Re: The errs of compile the opendx on Suse system
Reply #4 - 05/26/11 at 14:38:36
 
For the record...
First and foremost : unless your really need to recompile OpenDX (for some reason, like adding support for netCDF or anything that was not already built in the baseline RPM package), follow GNE's advice.
 
If you are still here, here's a small "how to" which might help you compile OpenDX from source on recent Linux distros.
I'm no specialist: this just explains how I dug the information to do it, and at least it worked for me.
 
Actually the package maintainers at OpenSuSE not only provide a working binary RPM, but they have also stored all the necessary patches and compilation procedure along with the "source" RPM of the above-mentioned package. Maybe the maintainers of other Linux distros have done something similar. So I downloaded this source RPM from the source repository (here for the OpenSuSE 11.4 release) :
 
http://download.opensuse.org/source/distribution/11.4/repo/oss/suse/src/dx-4.4.4 -239.3.src.rpm
 
You can unpack this source RPM using the following command :
 
Code:
rpm2cpio dx-4.4.4-239.3.src.rpm | cpio -idmv 


 
This will unpack the sources and samples (".tar.bz2" files) along with a set of ".patch" files and a script file named "dx.spec".
You can read this latter script in a text editor: you'll understand how to apply the patches on the original "clean" source tree.
This will fix many compilation problems (and bugs) already reported on this forum.
I guess this same procedure (possibly with small modifications) can be applied on other recent Linux distros.
A history of patches (and contributors e-mails) is given at the end of the ".spec" file.
Back to top
 
« Last Edit: 05/27/11 at 07:45:53 by balden »  
  IP Logged
Pages: 1