threads / announce / 1938

Re: [ANNOUNCE qgit-0.95]

Subject: Re: [ANNOUNCE qgit-0.95]

## tl;dr

3 messages between Sep 25, 2005 and Sep 25, 2005.

replies: 2people: 3as markdown or json

Marco Costalba· Sep 25, 2005, 07:07 UTC · lore
Alan Chandler wrote:
Show 35 quoted lines
>On Sunday 25 Sep 2005 07:32, Alan Chandler wrote:
>...
>
>>However when I run make I get errors of the form shown below (QSettings
>>errors) and eventually the compile stage fails.
>>
>>/usr/share/qt3/bin/uic -o src/rangeselectbase.h src/rangeselectbase.ui
>>/usr/share/qt3/bin/uic -impl rangeselectbase.h -o
>>src/uic_rangeselectbase.cc src/rangeselectbase.ui
>>/usr/share/qt3/bin/moc -o src/moc_rangeselectbase.cc src/rangeselectbase.h
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings::sync: filename is null/empty
>>QSettings: error creating /.qt
>>QSettings::sync: filename is null/empty
>>QSettings: error creating /.qt
>>QSettings::sync: filename is null/empty
>>g++ -O2 -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/qt3
>>-I/usr/share/qt3/include -c -o src/git_startup.o src/git_startup.cpp
>>src/git_startup.cpp: In member function `void Git::parseReadFromStdout()':
>>src/git_startup.cpp:473: error: jump to label `resume'
>>src/git_startup.cpp:439: error:   from here
>>src/git_startup.cpp:467: error:   crosses initialization of `newCommits*nc'
>>scons: *** [src/git_startup.o] Error 1
>>scons: building terminated because of errors.
>>make: *** [all] Error 2
>>alan@kanger qgit-0.95 $
>
>
>Although the QSettings are still there, fixing up git_startup.cpp as per 
>Pasky's patch fixed it for me
>

QSettings are there from day one :-< I am not able to let them disappear.....very bad. In any case should be harmless.

This morining I have updated the downloads with Pasky's patch.
Marco

__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Josef Weidendorfer· Sep 25, 2005, 18:56 UTC · re: Marco Costalba · lore
On Sunday 25 September 2005 09:07, Marco Costalba wrote:
Show 6 quoted lines
> >> src/rangeselectbase.h QSettings: error creating /.qt
> >>QSettings: error creating /.qt
> ...
> QSettings are there from day one :-<
> I am not able to let them disappear.....very bad. In any case should be
> harmless.

These errors seam to appear because scons does NOT pass through the $HOME environment variable to subprocesses. "moc", which is producing these errors, obviously wants to access some config options in $HOME/.qt/.

Somebody knows how to change this?
Josef
Robin Farine· Sep 25, 2005, 20:46 UTC · re: Josef Weidendorfer · lore
Josef Weidendorfer <Josef.Weidendorfer <at> gmx.de> writes:    
  
Show 13 quoted lines
> On Sunday 25 September 2005 09:07, Marco Costalba wrote:    
> > >> src/rangeselectbase.h QSettings: error creating /.qt    
> > >>QSettings: error creating /.qt    
> > ...    
> > QSettings are there from day one :-<    
> > I am not able to let them disappear.....very bad. In any case should be    
> > harmless.    
>     
> These errors seam to appear because scons does NOT pass through the $HOME    
> environment variable to subprocesses. "moc", which is producing these    
> errors, obviously wants to access some config options in $HOME/.qt/.    
>     
> Somebody knows how to change this?    
    
With SCons, key-value pairs that are meant to appear in process    
environment need to be added to the env['ENV'] mapping. In this  
case:  
   
    env = Environment(...)  
    env['ENV']['HOME'] = os.environ['HOME']   
   
Environment() creates an SCons build environment which is unrelated  
to subprocess environments (even though the same word is used :)).  
As a special case, SCons handles the mapping assigned to env['ENV']  
as process environment for subprocesses.  
  
Hope this helps,  
  
Robin    
 
    

← back to recent threads