On Mon, 09 Jun 2008 18:57:09 -0400, Adam C Powell IV <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-06-09 at 23:54 +0200, denis31.barbier wrote:
>> Package: libopencascade6.2
>> Version: 6.2-3
>> Severity: normal
>> 
>> Hi Adam,
>> 
>> DRAWEXE needs some resource files to be operational, I had these lines
>> in my experimental debian/rules:
>> install -m 0755 -d
>> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
>> install -m 0644 ros/src/DrawResources/*.tcl
>> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
>> install -m 0644 ros/src/DrawResources/DrawDefault
>> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
>> install -m 0644 ros/src/DrawResources/DrawPlugin
>> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
> 
> Thank you!  How can I make sure that DRAWEXE sees and uses these files?
> 
>> BTW ros/env.ksh defines environment variables which points to other
>> src/ files,
>> it is likely that files and directories referenced by those CSF_*
>> environment
>> variables are useful too.
> 
> Thank you.  What do you think is an appropriate way to add these to the
> package?  Perhaps README.Debian.html should give suggestions for
> including the variables into the user's bash or other profile?
> 
> (I guess that this will answer the above question...)

OCC users are requested to set CASROOT environment variable, e.g.
if you chose /opt/OpenCASCADE6.2.0 as your root installation directory,
you set CASROOT=/opt/OpenCASCADE6.2.0
  $ ls /opt/OpenCASCADE6.2.0
  data  doc  LICENSE  ros  samples  tools  wok

Source files are searched into $CASROOT/ros/src, include files into
$CASROOT/ros/inc, libs into $CASROOT/ros/`uname -s`/lib
The best solution is to modify sources to look into installation path.
I may provide a patch, this is fairly easy. Is your package on Alioth
or somewhere else?

Denis





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to