[Lunar-bugs] [Lunar Linux 0000363]: Straw fail to compile

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Sun Jan 11 04:37:28 GMT 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000363
=======================================================================
Reporter:                   scereze3
Handler:                    nhudson
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000363
Category:                   moonbase
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
=======================================================================
Date Submitted:             2003-08-28 05:29 GMT
Last Modified:              2004-01-11 04:37 GMT
=======================================================================
Summary:                    Straw fail to compile
Description: 
bash-2.05b# lin straw
Checking dependencies for straw
Building straw
msgfmt -c -o po/fi.mo po/fi.po
python2.2 -c 'import compileall; compileall.compile_dir("src/lib")'
make: python2.2: Command not found
Creating /var/log/lunar/compile/straw-0.14.bz2
! Problem detected during BUILD
make: *** [all] Error 127

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

-----------------------------------------------------------------------
 nhudson - 2003-08-28 12:41 GMT 
-----------------------------------------------------------------------
Can you update straw to 0.19.1 your DETAILS file should look like this.

 MODULE=straw
         VERSION=0.19.1
          SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
SOURCE_URL[0]=http://savannah.nongnu.org/download/straw/straw.pkg/0.19/$SOURCE
        WEB_SITE=http://www.nongnu.org/straw
         ENTERED=20021223
         UPDATED=20021223
           SHORT=" Straw is a desktop news aggregator for the GNOME
environment."
cat << EOF
 Straw is a desktop news aggregator for the GNOME environment. Its aim
is to be a faster, easier and more accessible way to read news and blogs
than the traditional browser.
EOF


Try that add see if it compiles.

-----------------------------------------------------------------------
 scereze3 - 2003-08-28 14:38 GMT 
-----------------------------------------------------------------------
Just try this. It still fails to compile:

Building straw
xgettext -k_ -kN_ ./src/lib/SummaryParserCommon.py
./src/lib/PreferencesDialog.py ./src/lib/NetworkConstants.py
./src/lib/ExportSubscriptionsDialog.py ./src/lib/rssparser.py
./src/lib/PollManager.py ./src/lib/OfflineDialog.py ./src/lib/error.py
./src/lib/httplib_async.py ./src/lib/FindDialog.py ./src/lib/dashboard.py
./src/lib/Event.py ./src/lib/ItemStore.py ./src/lib/LookupManager.py
./src/lib/rssfinder.py ./src/lib/SubscriptionsMergeDialog.py
./src/lib/ImportSubscriptionsDialog.py ./src/lib/OPMLImport.py
./src/lib/ParsedSummary.py ./src/lib/FeedList.py ./src/lib/ImageCache.py
./src/lib/MainWindow.py ./src/lib/FeedDataRouter.py ./src/lib/Main.py
./src/lib/SubscribeDialog.py ./src/lib/OPML.py ./src/lib/Feed.py
./src/lib/FeedItems.py ./src/lib/SummaryParser.py
./src/lib/StrawURLOpener.py ./src/lib/QueueDict.py ./src/lib/Config.py
./src/lib/SummaryItem.py ./src/lib/__init__.py ./src/lib/OPMLExport.py
./src/lib/DashboardFrontend.py ./src/lib/URLFetch.py
./src/lib/SummaryParserMP.py ./test/LookupTests.py glade/strings.c -o
po/straw.pot
Merging po/de.po .................. terminé.
Merging po/fi.po .............. terminé.
Merging po/fr.po ........... terminé.
Merging po/no.po ........... terminé.
Merging po/ru.po ........... terminé.
msgfmt -c -o po/de.mo po/de.po
msgfmt -c -o po/fi.mo po/fi.po
msgfmt -c -o po/fr.mo po/fr.po
msgfmt -c -o po/no.mo po/no.po
msgfmt: po/no.po: AVERTISSEMENT: l'en-tête du fichier PO est floue
                  AVERTISSEMENT: les vieilles versions de msgfmt donneront
une erreur là dessus
msgfmt -c -o po/ru.mo po/ru.po
python2.2 -c 'import compileall; compileall.compile_dir("src/lib")'
make: python2.2 : commande introuvable
make: *** [all] Erreur 127
Creating /var/log/lunar/compile/straw-0.19.1.bz2
! Problem detected during BUILD

-----------------------------------------------------------------------
 tchan - 2003-08-28 15:31 GMT 
-----------------------------------------------------------------------
I fixed straw-0.14 to install correctly.  We are using Python2.3 and straw
does not autodetect this fact.  sedit in the BUILD script for the Makefile
and all is well.  This module also does strange things in POST_INSTALL and
POST_REMOVE, so I had to edit the python2.2 to python2.3 there as well. 
nhudson will probably upgrade this module to straw-0.19.1 when he has time
to test it.

-----------------------------------------------------------------------
 scereze3 - 2003-08-28 16:08 GMT 
-----------------------------------------------------------------------
I installed it, but the apps is not starting. Still looking for python 2.2

bash-2.05b$ /opt/lunar/gnome/2/bin/straw
/usr/bin/env: python2.2: No such file or directory

-----------------------------------------------------------------------
 nhudson - 2003-09-03 20:34 GMT 
-----------------------------------------------------------------------
I will be working on this and hopfully will have something done by this
weekend.

-----------------------------------------------------------------------
 csm - 2003-09-07 02:10 GMT 
-----------------------------------------------------------------------
I can confirm this as well... straw builds but fails to run

-----------------------------------------------------------------------
 sofar - 2003-09-23 23:03 GMT 
-----------------------------------------------------------------------
nick... this bug is still open somehow... any chance you can dog it up
again?

-----------------------------------------------------------------------
 nhudson - 2003-09-24 20:16 GMT 
-----------------------------------------------------------------------
Well the problem is out gnome-python2 module.  I have no clue why it will
not "import bonobo.ui" with this module to make it run same goes for all
gnome-python2 based modules, straw, meld, gdesklets etc.  All give the
same error message.  Now if I go to the python shell and type "import
bonobo.ui" it will fail, but if I do this.

"import gtk"
"import gnome"
"import bonobo.ui" 

It will not give me the error message that it cant import bonobo.ui.  Now
I have asked the gnome-python list, I have asked messages boards I have
done everything i know to do to see if the problem can be fixed and no one
will either help or know what the hell is wrong.

-----------------------------------------------------------------------
 huysmans - 2003-10-16 15:57 GMT 
-----------------------------------------------------------------------
When bored play with a python bug ...

No solution, but this is what I found with 0.19.2 (<-- new version):

* straw misbehaves badly by calling python2.2 => sedit needed

* straw can't find its own straw module =>
STRAW_LIB=/opt/lunar/gnome/2.4/lib/python2.3/site-packages/straw

* then python can't find the straw module ;-) =>
PYTHONPATH=/opt/lunar/gnome/2.4/lib/python2.3/site-packages

*     ORBit.load_typelib('Bonobo')
RuntimeError: could not load typelib

I tracked it down to ORBit not being able to find the Bonobo_module, I
think it is because all gnome-python stuff gets installed into /usr (like
gtk), but ORBit is in /opt/lunar/gnome/2.4

=> ORBIT_TYPELIB_PATH=/opt/lunar/gnome/2.4/lib/orbit-2.0

* then finally straw fails with this error:

Traceback (most recent call last):
  File "/opt/lunar/gnome/2.4/bin/straw", line 30, in ?
    import straw
  File "src/lib/__init__.py", line 42, in ?
  File "src/lib/LookupManager.py", line 6, in ?
ImportError: No module named adns

For now I'm thoroughly fed up with this module. Perhaps this helps
someone, somewhere.

-----------------------------------------------------------------------
 nhudson - 2003-10-16 16:33 GMT 
-----------------------------------------------------------------------
Yeah the newer version of straw needs something called adns and its python
bindings package.  You can find adns at
http://www.chiark.greenend.org.uk/~ian/adns/.  Also you might want to
check out this thread on a Gnome message board:
http://gnomesupport.org/forums/viewtopic.php?t=3171

It will give you what you need to compile and install staw and getting it
to work.  If you wish to tinker somemore be my guest, if not when you have
done so far will help out alot in getting things fixed with the
gnome-python crap.

-----------------------------------------------------------------------
 nhudson - 2004-01-11 04:37 GMT 
-----------------------------------------------------------------------
I removed this module from moonbase due to problems with gnome-python2. 
Things will not and can not be resolved until we move Gnome back to /usr
from /opt.  As for straw development is going on but the current "stable"
version is a bitch to compile.  The development version and new stable
version when it comes out will be alot better.  Hopefully the move to /usr
and to Gnome 2.6 which I am hoping to be a better desktop for us, will fix
alot of problems for us.


More information about the Lunar-bugs mailing list