Status: New
Owner: ----

New issue 230 by [email protected]: Fail to build if DISPLAY was unset
http://code.google.com/p/solfege/issues/detail?id=230

What steps will reproduce the problem?
1. $ unset DISPLAY
2. $ ./configure && make
3.

What is the expected output? What do you see instead?
Build succeeds.

Backtrace:

cp po/ru.mo share/locale/ru/LC_MESSAGES/solfege.mo
mkdir -p share/locale/zh_CN/LC_MESSAGES
cp po/zh_CN.mo share/locale/zh_CN/LC_MESSAGES/solfege.mo
/usr/bin/python tools/generate_lessonfiles.py
Traceback (most recent call last):
   File "tools/generate_lessonfiles.py", line 17, in <module>
     import solfege.frontpage as fp
   File "./solfege/frontpage.py", line 28, in <module>
     from solfege import lessonfile
   File "./solfege/lessonfile.py", line 36, in <module>
     from solfege import mpd
   File "./solfege/mpd/__init__.py", line 41, in <module>
     from solfege.mpd.rhythmwidget import RhythmWidget,  
RhythmWidgetController
   File "./solfege/mpd/rhythmwidget.py", line 24, in <module>
     import gtk
   File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line  
64, in <module>
     _init()
   File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line  
52, in _init
     _gtk.init_check()
RuntimeError: could not open display
make[1]: *** [gen-lessonfiles] Error 1


What version of the product are you using? On what operating system?
3.19.9
Fedora 15 x86_64


Please provide any additional information below.
This may prevent rpm building.


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel

Reply via email to