View Issue Details

IDProjectCategoryView StatusLast Update
0000452ascendbuild-linuxpublic2011-02-22 17:34
Reporterarvindsraj 
Assigned Tojohn 
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version 
Target Version1.0Fixed in Version 
Summary0000452: Running the ascend binary causes an infinite loop after compilation
DescriptionI was compiling ascend from source and finished it successfully. But, when I tried to run it I got the following error.


 Restarting with corrected environment...
 LD_LIBRARY_PATH = /usr/local//lib:/usr/local/lib
 ASCENDLIBRARY = /usr/local/lib/ascend/models:/usr/local//lib/ascend/models
 PYTHON = /usr/bin/python
 script = /usr/local/bin/ascend
 Restarting with corrected environment...
 LD_LIBRARY_PATH = /usr/local//lib:/usr/local/lib
 ASCENDLIBRARY=/usr/local/lib/ascend/models:/usr/local/lib/ascend/models:/usr/local//lib/ascend/models
 PYTHON = /usr/bin/python
 script = /usr/local/bin/ascend


It was observed that the LD_LIBRARY_PATH had two slashes instead of one because of specifying INSTALL_PATH as "/usr/local/" during scons install. The operating system takes it as the correct path and installs the files accordingly but the configuration uses the string "/usr/local" as is and hence the extra slash.
Additional InformationTo recreate the bug, perform the following steps.

         cd ~/ascend
         scons
         scons install INSTALL_PATH=/usr/local/
         ascend
TagsNo tags attached.

Relationships

Activities

john

2010-04-09 14:39

administrator   ~0000632

I think that the solution to this is to normalise the INSTALL_PREFIX and related paths before they are inserted into files like ascend.in.

Issue History

Date Modified Username Field Change
2010-04-08 19:46 arvindsraj New Issue
2010-04-08 19:46 arvindsraj Status new => assigned
2010-04-08 19:46 arvindsraj Assigned To => john
2010-04-09 14:39 john Note Added: 0000632
2011-02-22 17:34 john Target Version => 1.0