[Lunar-bugs] [Lunar Linux 0000063]: doxygen - Build fails due to environment variable not set

Lunar bug reports list lunar-bugs at lunar-linux.org
Tue Jul 11 20:23:43 UTC 2006


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=63 
====================================================================== 
Reported By:                linisys
Assigned To:                dveatch
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   63
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Moonbase Version:           20060213.19 
Core Tools:                 Lunar 
Core Tools Version:         20060129 
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             02-15-2006 01:48 UTC
Last Modified:              07-11-2006 20:23 UTC
====================================================================== 
Summary:                    doxygen - Build fails due to environment variable
not set
Description: 
during compile of doxygen as a dependency for kde3:

....

rm -f addon/doxywizard/config.cpp
  Checking for platform linux-g++... supported
  Detected Qt via the QTDIR environment variable...
                    QTDIR is set to /opt/lunar/qt, but library directory
/opt/lunar/qt/lib does not exist!
Creating /var/log/lunar/compile/doxygen-1.4.6.bz2
! Problem detected during BUILD


This is the fix. It should probably be added into the build somewhere.

root at Lunar ~ # export QTDIR=/opt/lunar/qt/3

====================================================================== 

---------------------------------------------------------------------- 
 linisys - 02-15-06 02:40  
---------------------------------------------------------------------- 
OK: It seems like the build does what it is supposed to as far as putting
things in to /etc/profile.d/*.rc

However, when doing a large metaport, the shell is not refreshed with
these. This is corrected by a logout and login, but this is not effective
for compiling multiple packages at once.  Functionality to pull these
files in should be done during post processing of the module. 

'source /etc/profile.d/<last_compiled_module>'

so that metaports can continue to build without interruption. 

---------------------------------------------------------------------- 
 sofar - 02-24-06 20:20  
---------------------------------------------------------------------- 
the module itself should set QTDIR to ${QT_PREFIX:=/opt/lunar/qt/3} - just
like all the other kde/qt modules do. It should not use stuff from
/etc/profile.d. 

---------------------------------------------------------------------- 
 sofar - 03-05-06 20:38  
---------------------------------------------------------------------- 
dennis, pls check if it needs a fix from "/opt/lunar/qt" to
"/opt/lunar/qt/3" 

---------------------------------------------------------------------- 
 dveatch - 03-06-06 00:28  
---------------------------------------------------------------------- 
The qt3 BUILD currently sets;

export  QT_PREFIX=${QT_PREFIX:-/opt/lunar/qt/3}
export  LD_LIBRARY_PATH=$QTDIR/lib

which afaik is the correct settings. 

My current env is QTDIR=/opt/lunar/qt/3 and doxygen compiled fine.

As it stands now with the current moonbase. I see no problem with the
methods and paths used for qt3. 

---------------------------------------------------------------------- 
 Stumbles - 06-16-06 17:38  
---------------------------------------------------------------------- 
closing out as to no report back from user. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-15-06 01:48  linisys        New Issue                                    
02-15-06 01:48  linisys        Moonbase Version          => 20060213.19     
02-15-06 01:48  linisys        Core Tools                => Lunar           
02-15-06 01:48  linisys        Core Tools Version        => 20060129        
02-15-06 02:40  linisys        Note Added: 0000107                          
02-24-06 20:20  sofar          Note Added: 0000130                          
03-05-06 20:37  sofar          Status                   new => assigned     
03-05-06 20:37  sofar          Assigned To               => dveatch         
03-05-06 20:38  sofar          Note Added: 0000137                          
03-06-06 00:28  dveatch        Note Added: 0000142                          
06-16-06 17:38  Stumbles       Note Added: 0000209                          
06-16-06 17:39  Stumbles       Resolution               open => won't fix   
07-11-06 20:23  Stumbles       Status                   assigned => resolved
======================================================================



More information about the Lunar-bugs mailing list