Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
On Sunday, June 19 at 09:47 (+0800), William Kenworthy said: > Its actually not "slotting" I am after - slots are a choice of setting > the system to one or the other (correct me if I am wrong) whereas I > want > to use perl-5 for eveyting except this which wants perl-6. You are wrong. slots is the mechanism whereby "different versions of a single package can coexist on a system". "Setting a choice" I assume means your eselect-style choices. For example, you can eselect a pager, which has nothing do do with slots. Or you can eselect the system python, which does (indirectly) have to do with slots. But eselect and slots are not the same.
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
William Kenworthy wrote: On Sat, 2011-06-18 at 19:28 -0500, Dale wrote: William Kenworthy wrote: Is it possible to have perl-5 and perl-6 installed and in use concurrently? This has come up because I am trying to upgrade mythtv using overlays because gentoos mythtv builds are getting rather ancient - the drscream (layman) overlay is requiring a perl 6 module, but the manual github overlay which doesnt is January so is getting out of date anyway. or can someone point me to a recent overlay thats regularly updated and works(!) Currently want to go from mythtv .23-gentoo to .24-fixes and then .25 as its soon to be stable. BillK I had a look at the ebuild, it doesn't appear to be slotted. So, it is most likely not possible to have both at the same time. The relavant portion: LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" All the ebuilds I looked at had the SLOT="0" which means no slots. If I am wrong, someone post and correct me. Dale :-) :-) Its actually not "slotting" I am after - slots are a choice of setting the system to one or the other (correct me if I am wrong) whereas I want to use perl-5 for eveyting except this which wants perl-6. One item is that the ebuild for perl5 is "dev-perl/libwww-perl" whereas for perl 6 its "dev-perl/libwww-perl-6" which indicates co-existence might be possible - but I dont want to break a system to prove it doesnt :) BillK In order to have two versions of the same package on a system at the same time, the system has to be able to figure out which is which. That is what Gentoo calls slots. Here, I have python 2 and 3 installed. I have the system set to python 2, with eselect, but some packages CAN use python 3 if it so chooses. Maybe this link explains it better: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap5 Hope that helps. Dale :-) :-)
Re: [gentoo-user] Argh: No KMail after KDEPIM upgrade
I did not intend to send this mail yet, but I accidentally did. It happened when kwin started doing weird things again, like transparent window titles, window content being all black or grey and such. Happens after a few days of KDE4 sesstion uptime, the kwin proecess has grown to some hundred megs (the record was 1.3G) then. I wanted to close the running applications before logging out, which somehow worked for the composing window of this mail, although it was meant to end in the drafts folder, not here. There was also a konqueror window which had some open tabs with threads about this KDEPIM problem, forutunately I was able to save them, despite the bookmark menu being all grey. For the moment, I have disabled kmail in kontact, and grouped the kontact window with a thunderbird window. Now the next problem is that thunderbird does not check my IMAP folders for new mail, only the one I am currently in. Do I fix this problem? Or better invest the time in fixing this KDEPIM problem? Try another mail client? None of those. Instead I install Linux Mint [*] on my Mom's notebook. Again. Because I just killed the existing installation. After some tweaking it worked fine, so I thought it was time for a backup of /boot and ~/.* files on a backup partition, which I had to create first. Before: /dev/sda7 10G /root /dev/sda8 10G /home free space 28G After: /dev/sda7 10G /root /dev/sda8 20G /home /dev/sda9 8G /backup resize2fs /dev/sda8 said the partition was at maximum size already, so I rebooted. And no longer had a /home. Shouldn't this have been safe? I removed /home from fstab so the boot process would not stop again. But now X does not come up. And the console stays black. Somehow, eth0 is down, but wlan0 is connected, I can log in via ssh in order to activate the Grub menu, so I could remove the quiet option. Mint / Ubuntu does not show a Grub menu, booting starts without delay. In Mint, even pressing the escape key does not show the boot process, not sure how this was in Ubunbtu. There is no fancy splash image either in Mint, so the might be something wrong here. I wanted to activate the menu, realized that Grub2 does things SO DIFFERENT from the Grub I know, but then found /etc/default/grub, with lines like GRUB_HIDDEN_MENU=true or something like that, and a comment said the update-grub command would take care of this. I ran it, rebooted, and now I still see no menu. Good: the boot messages are visible. Bad: they are totally distorted and not readable, I think this is the new kernel or initrd I got installed with update-grub. Had this before with Ubuntu when I allowed it to install closed-source video drivers. So I just did a fresh install, now I will configure what I already had configured before. Then comes KDEPIM maybe, after some sleep. Wonko [*] No, not Gentoo. I want a quick setup, no long compiles to keep it up to date, and I hoped for some additional distro magic that would automatically detect my WLAN & stuff.
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
On Sat, 2011-06-18 at 19:28 -0500, Dale wrote: > William Kenworthy wrote: > > Is it possible to have perl-5 and perl-6 installed and in use > > concurrently? > > > > This has come up because I am trying to upgrade mythtv using overlays > > because gentoos mythtv builds are getting rather ancient - the drscream > > (layman) overlay is requiring a perl 6 module, but the manual github > > overlay which doesnt is January so is getting out of date anyway. > > > > or can someone point me to a recent overlay thats regularly updated and > > works(!) Currently want to go from mythtv .23-gentoo to .24-fixes and > > then .25 as its soon to be stable. > > > > BillK > > > > > > I had a look at the ebuild, it doesn't appear to be slotted. So, it is > most likely not possible to have both at the same time. The relavant > portion: > > LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 > ~sh ~sparc ~x86 ~x86-fbsd" > > All the ebuilds I looked at had the SLOT="0" which means no slots. > > If I am wrong, someone post and correct me. > > Dale > > :-) :-) > Its actually not "slotting" I am after - slots are a choice of setting the system to one or the other (correct me if I am wrong) whereas I want to use perl-5 for eveyting except this which wants perl-6. One item is that the ebuild for perl5 is "dev-perl/libwww-perl" whereas for perl 6 its "dev-perl/libwww-perl-6" which indicates co-existence might be possible - but I dont want to break a system to prove it doesnt :) BillK -- William Kenworthy Home in Perth!
Re: [gentoo-user] Argh: No KMail after KDEPIM upgrade
Volker Armin Hemmann writes: > On Monday 13 June 2011 21:01:58 Alex Schuster wrote: >> Anyway, KMail has a problem now. I get this error: >> >> KMail encountered a fatal error and will terminate now. >> The error was: >> Failed to fetch the resource collection. > > look up the akonadi error log Test 5: ERROR MySQL server log contains errors. Details: The MySQL server error log file '/home/wonko/.local/share/akonadi/db_data/mysql.err' contains errors. File content of '/home/wonko/.local/share/akonadi/db_data/mysql.err': InnoDB: The InnoDB memory heap is disabled InnoDB: Mutexes and rw_locks use GCC atomic builtins InnoDB: Compressed tables use zlib 1.2.5 110614 19:22:22 InnoDB: highest supported file format is Barracuda. 110614 19:22:22 InnoDB: Warning: allocated tablespace 44, old maximum was 9 110614 19:22:22 Percona XtraDB (http://www.percona.com) 1.0.10-12.0 started; log sequence number 1431101630 110614 19:22:22 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them 110614 19:22:22 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist 110614 19:22:22 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.1.50-MariaDB' socket: '/home/wonko/.local/share/akonadi/socket-weird/mysql.socket' port: 0 Gentoo Linux mariadb-5.1.50 I think I had a similar error before, one year ago, and it sometime vanished misteriously and all seemed to be fine. But I think the problem is this: WhenI start kmail in a shell, I get this error: Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_3" : "Unknown error. (Failed to fetch the resource collection.)" "/usr/bin/kmail(31523)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/kmail(31523)" Soprano: "QLocalSocket::connectToServer: Invalid name" kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_3" : "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" kmail2(31523) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." kmail2(31523)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_3" : "Unknown error. (Failed to fetch the resource collection.)" >> BTW, double-clicking a file in dolphin does no longer open it, but asks >> for the application to open it with. No known applications are shown. >> Hmm, I remember having this before, and there was some easy solution >> like running kbuildsycoca4, but this did not help here. > > /etc/xdg/menus/applications.menu > is missing. Just create a symlink to kde-4-applications.menu This worked for a test user, but not for my own account. I also tried kbuildsycoca4 again after I checked that this was the command that had helped on the other PC. Still no change. Yes, I logged out and in. And suddenly, some days later, it's working. I have no idea what fixed this, but I'm glad it finally solved itself. The icons for the menu entries are still mostly empty, but the applications are all back, and a double-click in dolphin no longer asks what to do. Wonko
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
You can't have multiple versions of Perl installed in your system.
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
William Kenworthy wrote: Is it possible to have perl-5 and perl-6 installed and in use concurrently? This has come up because I am trying to upgrade mythtv using overlays because gentoos mythtv builds are getting rather ancient - the drscream (layman) overlay is requiring a perl 6 module, but the manual github overlay which doesnt is January so is getting out of date anyway. or can someone point me to a recent overlay thats regularly updated and works(!) Currently want to go from mythtv .23-gentoo to .24-fixes and then .25 as its soon to be stable. BillK I had a look at the ebuild, it doesn't appear to be slotted. So, it is most likely not possible to have both at the same time. The relavant portion: LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" All the ebuilds I looked at had the SLOT="0" which means no slots. If I am wrong, someone post and correct me. Dale :-) :-)
[gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
Is it possible to have perl-5 and perl-6 installed and in use concurrently? This has come up because I am trying to upgrade mythtv using overlays because gentoos mythtv builds are getting rather ancient - the drscream (layman) overlay is requiring a perl 6 module, but the manual github overlay which doesnt is January so is getting out of date anyway. or can someone point me to a recent overlay thats regularly updated and works(!) Currently want to go from mythtv .23-gentoo to .24-fixes and then .25 as its soon to be stable. BillK -- William Kenworthy Home in Perth!
[gentoo-user] net-print/hplip-3.11.5 compile fails
05 -DAPDK_QUICKCONNECT -DAPDK_LITTLE_ENDIAN -DAPDK_AUTO_INCLUDE -DAPDK_LINUX -DNDEBUG -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -march=native -O2 -pipe -c -o hppgsz-PrinterProperties.o `test -f 'prnt/hpijs/PrinterProperties.cpp' || echo './'`prnt/hpijs/PrinterProperties.cpp prnt/hpps/hppsfilter.c: In function ‘open_dbg_outfile’: prnt/hpps/hppsfilter.c:95: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘char *’ prnt/hpps/hppsfilter.c: In function ‘require_bod’: prnt/hpps/hppsfilter.c:119: error: ‘ppd_attr_t’ undeclared (first use in this function) prnt/hpps/hppsfilter.c:119: error: (Each undeclared identifier is reported only once prnt/hpps/hppsfilter.c:119: error: for each function it appears in.) prnt/hpps/hppsfilter.c:119: error: ‘pattr’ undeclared (first use in this function) prnt/hpps/hppsfilter.c:120: error: ‘ppd_file_t’ undeclared (first use in this function) prnt/hpps/hppsfilter.c:120: error: ‘pppd’ undeclared (first use in this function) prnt/hpps/hppsfilter.c: In function ‘main’: prnt/hpps/hppsfilter.c:200: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘char * (*)(int)’ pcard/fat.c: In function ‘FatReadFile’: pcard/fat.c:630: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result make: *** [hppsfilter.o] Error 1 make: *** Waiting for unfinished jobs emake failed * ERROR: net-print/hplip-3.11.5 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5970: Called _eapi2_src_compile * ebuild.sh, line 665: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =net-print/hplip-3.11.5', * the complete build log and the output of 'emerge -pqv =net-print/hplip-3.11.5'. * The complete build log is located at '/var/log/portage/net-print:hplip-3.11.5:20110618-232524.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/hplip-3.11.5/temp/environment'. * S: '/var/tmp/portage/net-print/hplip-3.11.5/work/hplip-3.11.5' >>> Failed to emerge net-print/hplip-3.11.5, Log file: >>> '/var/log/portage/net-print:hplip-3.11.5:20110618-232524.log' root@fireball / # I looked on bgo and the forums with no luck. I don't recall seeing this on this list either. Ideas? Oh, I did run etc-update and then did env-update and source /etc/profile just in case some other update changed something. No joy there either. Thanks much. Dale :-) :-)
[gentoo-user] Re: /etc/locale vs /etc/env.d/02locale?
On 06/17/2011 06:46 PM, Peter Humphrey wrote: > On Saturday 18 June 2011 01:50:12 walt wrote: > >> I've tried to prevent the installation of many many unneeded megabytes >> of translation files in /usr/share/locale/* but I've never succeeded. > Have you tried localepurge? I just did, and thanks for the hint :)
Re: [gentoo-user] tethering an htc incredible
On Sat, Jun 18, 2011 at 11:06 AM, Allan Gottlieb wrote: > On Fri, Jun 17 2011, David Abbott wrote: > >> I am currently connected with a Google Nexus One. I am going to attach >> two files, my current lsmod and /usr/src/linux/.config >> Also I use wicd to connect. I had to add the wired network usb0 >> HTH >> David > > Thank you very much. I will work on this starting monday. But one > question. What do you mean by "I had to add the wired network usb0"? > > I have created the symlink net.lo --> net.usb0, but I don't seem to get > any usb0 interface. Did you do anything else? I do run wicd. > I am guessing it is kernel options, but just want to make sure that > there isn't some command I am forgetting to issue. > > Thanks again, > allan > > If you open up wicd => Preferences => General Settings => Wired interface the defaultis eth0. I did not have to manually create any symlink as I think wicd does any majic that is needed on its own. One think to consider is that your phone does not have tethering enabled, that your carrier has blocked it. All the best, David
Re: [gentoo-user] [OT] OOo donated by Oracle to Apache
Am 18.06.2011 16:52, schrieb Mick: > This may be of interest to some: > > http://lwn.net/Articles/446093/ > > Oracle is known for buying assimilating and killing most software that it > buys, so this is a bit of a surprise. Perhaps it gave up on the idea of > competing against Microsoft on the Office suite market space. Unfortunately, it will most likely not stop the forked development. I recommend the older Ars Technica article on this [1]. To sum it up: 1. Most LibreOffice-supporters with the exception of IBM want to stick with The Document Foundation and LibreOffice. 2. The more permissive Apache license could prove detrimental because it doesn't mandate publishing your proprietary changes (Libre- and OOo are under LGPL). OOo could end up being the lowest common denominator between a range of commercial forks (IBM Lotus Symphony, Oracle Open Office, etc.) and LibreOffice. [1] http://arstechnica.com/open-source/news/2011/06/oracle-spurns-libreoffice-wants-to-give-ooo-to-apache-foundation.ars Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] tethering an htc incredible
On Fri, Jun 17 2011, David Abbott wrote: > I am currently connected with a Google Nexus One. I am going to attach > two files, my current lsmod and /usr/src/linux/.config > Also I use wicd to connect. I had to add the wired network usb0 > HTH > David Thank you very much. I will work on this starting monday. But one question. What do you mean by "I had to add the wired network usb0"? I have created the symlink net.lo --> net.usb0, but I don't seem to get any usb0 interface. Did you do anything else? I do run wicd. I am guessing it is kernel options, but just want to make sure that there isn't some command I am forgetting to issue. Thanks again, allan
Re: [gentoo-user] Plone
On Fri, 17 Jun 2011 22:16:32 +0100 john wrote: > I have installed Plone but unfortunately it will not run. I believe > this is down to PIL not being installed as shown when starting Zope > in foreground. > > I have emerged dev-python/imaging but Zope still cannot see PIL. I > think the issue is because Plone/Zope depends on python 2.4. > > Any recommendations on a fix??? not really, I tried the Gentoo ebuild first but also failed. Installing the Plone source package from plone.org works fine for me for months now (uses its own copy of Python, *not* replacing the system's copy of Python). Regards
[gentoo-user] [OT] OOo donated by Oracle to Apache
This may be of interest to some: http://lwn.net/Articles/446093/ Oracle is known for buying assimilating and killing most software that it buys, so this is a bit of a surprise. Perhaps it gave up on the idea of competing against Microsoft on the Office suite market space. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Plone
yeah its not really the way to go but nevermind. Probably won't use it anyway. A little too complicated for my needs. Looking for something a bit simpler? JDM -Original Message- From: Florian Philipp Date: Sat, 18 Jun 2011 12:03:01 To: Reply-to: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Plone Am 18.06.2011 08:50, schrieb john: > On Fri, 17 Jun 2011 17:48:31 -0700 > Keith Dart wrote: > >> === On Sat, 06/18, john wrote: === >>> On Sat, 18 Jun 2011 00:31:39 +0200 >>> Florian Philipp wrote: >>> Am 17.06.2011 23:16, schrieb john: > Hello, > > I have installed Plone but unfortunately it will not run. I > believe this is down to PIL not being installed as shown when > starting Zope in foreground. > > I have emerged dev-python/imaging but Zope still cannot see > PIL. I think the issue is because Plone/Zope depends on python > 2.4. > > Any recommendations on a fix??? > You might have to run python-updater in order to install all python-packages for this version. I'm not sure if python-updater does this correctly if you don't have python-2.4 enabled via `eselect python`. You might want to try this as well. [...] >> >>> Think the python-updater looks forward but not backward (if you see >>> what I mean) >> >> It is called the UPdater, after all. >> >>> I have also tried changing all the references in bin scripts from >>> python2.4 to python2.7 but this fails miserably. The only thing I >>> can think of at the moment is to download manual package and >>> install but I'm really not sure where this is going to stick all >>> the modules? >> >> Ugh, yep. But Python is slotted, so you shouldn't have to worry about >> that. >> >> -- >> ~ >> Keith Dart >> = > > Always a little unsure about installing packages > manually. I like to let emerge do everything. > > I eselect python set 1 which set python2.4. Downloaded > Imaging-1.1.6.tar.gz from Python site. Installed using setup.py install. > Switched back to python2.7. > > Old instance would not run but:- > > Then created a new zopeinstance. Copied the > contents /usr/share/zproduct/plone-3.1.7/lib/python > and /usr/share/zproduct/plone-3.1.7/Products > > to instance > > And yippee I can create Plone site and all looks good at the mo > > Thanks for advice I've once ran Plone on Gentoo. I'm pretty sure I didn't have to resort to manual installing but I can't remember what the solution was. Anyway, it was too much trouble and I dropped Plone. If I ever have to use it again, I just use a virtualized Linux installation for it which comes with python-2.4 out-of-the-box. I'd recommend Scientific Linux-5.5 (update to 5.6 coming soon) as a Red Hat clone. Regards, Florian Philipp
Re: [gentoo-user] Plone
Am 18.06.2011 08:50, schrieb john: > On Fri, 17 Jun 2011 17:48:31 -0700 > Keith Dart wrote: > >> === On Sat, 06/18, john wrote: === >>> On Sat, 18 Jun 2011 00:31:39 +0200 >>> Florian Philipp wrote: >>> Am 17.06.2011 23:16, schrieb john: > Hello, > > I have installed Plone but unfortunately it will not run. I > believe this is down to PIL not being installed as shown when > starting Zope in foreground. > > I have emerged dev-python/imaging but Zope still cannot see > PIL. I think the issue is because Plone/Zope depends on python > 2.4. > > Any recommendations on a fix??? > You might have to run python-updater in order to install all python-packages for this version. I'm not sure if python-updater does this correctly if you don't have python-2.4 enabled via `eselect python`. You might want to try this as well. [...] >> >>> Think the python-updater looks forward but not backward (if you see >>> what I mean) >> >> It is called the UPdater, after all. >> >>> I have also tried changing all the references in bin scripts from >>> python2.4 to python2.7 but this fails miserably. The only thing I >>> can think of at the moment is to download manual package and >>> install but I'm really not sure where this is going to stick all >>> the modules? >> >> Ugh, yep. But Python is slotted, so you shouldn't have to worry about >> that. >> >> -- >> ~ >> Keith Dart >> = > > Always a little unsure about installing packages > manually. I like to let emerge do everything. > > I eselect python set 1 which set python2.4. Downloaded > Imaging-1.1.6.tar.gz from Python site. Installed using setup.py install. > Switched back to python2.7. > > Old instance would not run but:- > > Then created a new zopeinstance. Copied the > contents /usr/share/zproduct/plone-3.1.7/lib/python > and /usr/share/zproduct/plone-3.1.7/Products > > to instance > > And yippee I can create Plone site and all looks good at the mo > > Thanks for advice I've once ran Plone on Gentoo. I'm pretty sure I didn't have to resort to manual installing but I can't remember what the solution was. Anyway, it was too much trouble and I dropped Plone. If I ever have to use it again, I just use a virtualized Linux installation for it which comes with python-2.4 out-of-the-box. I'd recommend Scientific Linux-5.5 (update to 5.6 coming soon) as a Red Hat clone. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Plone
On Fri, 17 Jun 2011 17:48:31 -0700 Keith Dart wrote: > === On Sat, 06/18, john wrote: === > > On Sat, 18 Jun 2011 00:31:39 +0200 > > Florian Philipp wrote: > > > > > Am 17.06.2011 23:16, schrieb john: > > > > Hello, > > > > > > > > I have installed Plone but unfortunately it will not run. I > > > > believe this is down to PIL not being installed as shown when > > > > starting Zope in foreground. > > > > > > > > I have emerged dev-python/imaging but Zope still cannot see > > > > PIL. I think the issue is because Plone/Zope depends on python > > > > 2.4. > > > > > > > > Any recommendations on a fix??? > > > > > > > > > > You might have to run python-updater in order to install all > > > python-packages for this version. I'm not sure if python-updater > > > does this correctly if you don't have python-2.4 enabled via > > > `eselect python`. You might want to try this as well. > > > > > > Hope this helps, > > > Florian Philipp > > > > > > > I have eselect python2.4 but when running python-updater I get:- > > > > File "/usr/bin/portageq", line 98 > > except portage.exception.InvalidAtom as e: > > ^ > > SyntaxError: invalid syntax > > File "/usr/bin/portageq", line 98 > > except portage.exception.InvalidAtom as e: > > ^ > > SyntaxError: invalid syntax > > * Python 2 and Python 3 not installed > > > > Have also tried emerge imaging with python2.4 set and get :- > > > > File "/usr/bin/emerge", line 44 except PermissionDenied as e: > > ^ > > SyntaxError: invalid syntax > > on2.4 > > You may be hosed. That syntax only works with newer Python > interpreters. Can you eselect back to 2.6 or 2.7? > > > Think the python-updater looks forward but not backward (if you see > > what I mean) > > It is called the UPdater, after all. > > > I have also tried changing all the references in bin scripts from > > python2.4 to python2.7 but this fails miserably. The only thing I > > can think of at the moment is to download manual package and > > install but I'm really not sure where this is going to stick all > > the modules? > > Ugh, yep. But Python is slotted, so you shouldn't have to worry about > that. > > > > > > > -- Keith Dart > > > > -- > ~ > Keith Dart > = Always a little unsure about installing packages manually. I like to let emerge do everything. I eselect python set 1 which set python2.4. Downloaded Imaging-1.1.6.tar.gz from Python site. Installed using setup.py install. Switched back to python2.7. Old instance would not run but:- Then created a new zopeinstance. Copied the contents /usr/share/zproduct/plone-3.1.7/lib/python and /usr/share/zproduct/plone-3.1.7/Products to instance And yippee I can create Plone site and all looks good at the mo Thanks for advice -- -- -- John D Maunder j...@arcticwolf.myzen.co.uk