[opensuse] Python freeze

2007-11-28 Thread Robert W Best
Hello,
   I want to create a stand-alone binary from a Python script.
The freeze tool is not in the SuSE 10.3 distro, so I downloaded 
Python-2.5.1.tgz and extracted Tools/freeze.py - but can't get it 
working. It seeks files not included in SuSE 10.3.
How can I add this freeze module? Should I reinstall Python from the 
tgz file? Is there an alternative for freeze more adapted to SuSE? 
Please advise.

Robert Best
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Python freeze

2007-11-29 Thread Robert W Best
On Wednesday 28 November 2007 12:57:44 Michal Vyskocil wrote:
> Hi Robert
>
> You should look on the cx-freeze package in Build Service
> [http://download.opensuse.org/repositories/home:/mvyskocil/openSUSE
>_10.3/].

Hello Michal,
   I downloaded cx-freeze rpm but can't install it.
YaST says it can't find cx-freeze.
cx-freeze requires python-devel and rpmlib which are not included with 
SuSE 10.3.
python-devel is included with SuSE 10.2 - can I use that one?

Please give more detailed instructions.
Robert

> Dne Wednesday 28 November 2007 13:09:50 Robert W Best napsal(a):
> > Hello,
> >I want to create a stand-alone binary from a Python script.
> > The freeze tool is not in the SuSE 10.3 distro, so I downloaded
> > Python-2.5.1.tgz and extracted Tools/freeze.py - but can't get it
> > working. It seeks files not included in SuSE 10.3.
> > How can I add this freeze module? Should I reinstall Python from
> > the tgz file? Is there an alternative for freeze more adapted to
> > SuSE? Please advise.

-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Python freeze

2007-12-01 Thread Robert W Best
Michal,
  I downloaded cx-freeze from
download.opensuse.org/repositories/home:/mvyskocil/openSUSE_10.3/
In /root I have now
  freeze-3.0.3-2.2.src.rpm
I click on it and on Install Packages with YaST
YaST reads the SuSE 10.3 repository and says
  Error
  Following packages haven't been found on the medium:
  cx-freeze
On Konsole:
# rpm -iv '/root/cx-freeze-3.0.3-2.2.src.rpm'
cx-freeze-3.0.3-2.2
# rpm -q cx-freeze-3.0.3-2.2
package cx-freeze-3.0.3-2.2 is not installed

What can I do more?
Robert

On Friday 30 November 2007 15:50:09 Michal Vyskocil wrote:
> On Thursday 29 November 2007 15:32:23 Robert W Best wrote:
> > Hello Michal,
> >I downloaded cx-freeze rpm but can't install it.
> > YaST says it can't find cx-freeze.
> > cx-freeze requires python-devel and rpmlib which are not included
> > with SuSE 10.3.
> > python-devel is included with SuSE 10.2 - can I use that one?
>
> There's no dependency on python-devel, thus this package is in the
> 10.3
When I click on cx-freeze-3.0.3-2.2.src.rpm and on Dependencies
I get
  Requires
  python-devel
  rpmlib(CompressedFileNames)

> [http://download.opensuse.org/repositories/openSUSE:10.3/standard/]
>. rpmlib provides the rpm itself.
>
> > Please give more detailed instructions.
> > Robert
>
> There's no detailed instructions - just one-click-install and run.
But how? I don't understand.

> rpm -q --requires cx-freeze
> python
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(CompressedFileNames) <= 3.0.4-1
> /bin/sh
> libc.so.6()(64bit)
> libc.so.6(GLIBC_2.2.5)(64bit)
> libc.so.6(GLIBC_2.3)(64bit)
> libc.so.6(GLIBC_2.3.4)(64bit)
> libc.so.6(GLIBC_2.4)(64bit)
> libdl.so.2()(64bit)
> libdl.so.2(GLIBC_2.2.5)(64bit)
> libm.so.6()(64bit)
> libm.so.6(GLIBC_2.2.5)(64bit)
> libpthread.so.0()(64bit)
> libpthread.so.0(GLIBC_2.2.5)(64bit)
> libutil.so.1()(64bit)
> libutil.so.1(GLIBC_2.2.5)(64bit)
> rpmlib(PayloadIsBzip2) <= 3.0.5-1
>
> rpm -q --requires rpm
> ...
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(VersionedDependencies) <= 3.0.3-1
> ...
> rpmlib(PayloadIsBzip2) <= 3.0.5-1
>
> Isn't anything wrong on your machine?
I installed SuSE 10.3 from the DVD that goes with Linux Magazine
issue 85. It runs fine.

> MV

-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Python freeze SOLVED

2007-12-02 Thread Robert W Best
On Saturday 01 December 2007 11:10:36 Joe Morris (NTM) wrote:
> On 12/01/2007 06:50 PM, Robert W Best wrote:
> > Michal,
> >   I downloaded cx-freeze from
> > download.opensuse.org/repositories/home:/mvyskocil/openSUSE_10.3/
> > In /root I have now
> >   freeze-3.0.3-2.2.src.rpm
>
> That is the source rpm.  It might be easier to add the repository
> to yast and install it with software management.
>
> You are getting only source rpms.  You need to install the already
> compiled, binary rpm packages.
>
Thanks Joe, now I understand. I downloaded and moved 
cx-freeze-3.0.3-2.2.i586.rpm in a new folder repo and
added repo with YaST / Software Repositories.
Then YaST / Software Management installed cx-freeze.

Thanks Michal, FreezePython works!
It compiled a short conversion script which does mainly string 
manipulation, and a longer script that imports Tkinter for GUI.
The first binary must be started with full path on Konsole,
the second binary starts with a mouse click!

But I don't understand why source code is packed with RPM.
YaST seems unable to extract cx_Freeze-3.0.3-source.tgz from 
cx-freeze-3.0.3-2.2.src.rpm

Robert
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] Can't Build Search Index in KDE Help Center

2007-12-08 Thread Robert W Best
Using SuSE 10.3 the Build Search Index - KDE Help Center panel lists  
indices for all documents as missing. Click on Build Index does not 
work, the status remains missing for all selected documents.

Searching for 'bluetooth' for instance gives garbage like

khc_htsearch.pl 
--indexdir=/home/robert/.kde/share/apps/khelpcenter/index/ 
--config=book_opensuse_startupen --words=bluetooth 
--method=and --maxnum=5 --lang=en

Robert
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Can't Build Search Index in KDE Help Center

2007-12-08 Thread Robert W Best
On Saturday 08 December 2007 14:24:11 d_garbage wrote:
> On Sat, 08 Dec 2007 11:49:29 -0000, Robert W Best <[EMAIL PROTECTED]> 
wrote:
> > Using SuSE 10.3 the Build Search Index - KDE Help Center panel
> > lists indices for all documents as missing. Click on Build Index
> > does not work, the status remains missing for all selected
> > documents.
> > Robert
>
> Hi Robert,
> Seems the Help center needs a prog called "htdig" to build the
> index (if you click "details" tab when building it says something
> like "htdig failed" i remember). If that is your case, try
> installing htdig and build index again.
> HTH,
> David
Thanks David, index building works now.

I wonder why htdig is not included in the SuSE 10.3 distro.
I had to add SuSE 10.2 as software repo.
Also wine is missing in SuSE 10.3 - why? It's essential!

Robert
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Can't Build Search Index in KDE Help Center - missing htdig

2007-12-09 Thread Robert W Best
On Sat, 08 Dec 2007 15:17:48 -, Robert W Best <[EMAIL PROTECTED]> 
wrote:
> > I wonder why htdig is not included in the SuSE 10.3 distro.
> > I had to add SuSE 10.2 as software repo.
> > Also wine is missing in SuSE 10.3 - why? It's essential!
> > Robert

17:20:58 d_garbage wrote:
> Hi Robert,
> I have both htdig and wine in the 10.3 oss repo (htdig has an
> update in the update repo too).
> Perhaps double check your setup?
> I'm using download.opensuse.org, as provided by the yast "Community
> Repositories" function.
> Cheers,
> David

21:15 Carlos E R wrote:
> You are wrong: both are included.

Hello,
   I use DVDs that go with Linux Magazine, SuSE 10.2 and 10.3 with 
issues 75 and 85. YaST can't find htdig or wine in SuSE 10.3.

I had bad experience with opensuse.org repo, YaST takes ages to start. 
Maybe you enjoy very fast Internet connection? I live in a rural area 
in Portugal - the weather is much better here!

Robert
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] Linux Mags - was Can't Build Search Index in KDE Help Center

2007-12-09 Thread Robert W Best
On Sunday 09 December 2007 12:52:58 James Mohr wrote:
> On Sunday 09 December 2007 09:52, Robert W Best wrote:
> > Hello,
> >I use DVDs that go with Linux Magazine, SuSE 10.2 and 10.3
> > with issues 75 and 85. YaST can't find htdig or wine in SuSE
> > 10.3.
>
> Based on the issue numbers, I am assuming that you are referring to
> the European version of Linux Magazine. There is one in the US with
> the same name, but is published by someone else. The European
> version is published in the US as Linux Magazine Pro. Do you
> subscribe or buy it off the rack? Just curious.
>
> Regards,
> jimmo
>
I've a subscription on the English Linux Magazine including DVDs.
The website of this version is
http://www.linux-magazine.com
For other language versions see 
http://www.linuxnewmedia.com/Products
There exists also a Dutch Linux Magazine, see
http://www.linuxmag.nl

Robert
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] Repo mirror - was: Can't Build Search Index in KDE Help Center

2007-12-10 Thread Robert W Best
On Sunday 09 December 2007 12:15:26 Carlos E. R. wrote:
> The Sunday 2007-12-09 at 08:52 -0000, Robert W Best wrote:
> > I had bad experience with opensuse.org repo, YaST takes ages to
> > start. Maybe you enjoy very fast Internet connection? I live in a
> > rural area in Portugal - the weather is much better here!
>
> Yes, I agree that using repositories with anything less than an
> ADSL connection, is a real PITA.
>
I enjoy ADSL since last year, but it's slow for USA servers.
For Portugal it can do 100 KB/s ~ 1Mb/s.

> However... instead of using the download.opensuse.org redirector,
> you can use another repo that works faster for you. I think I
> remember reading about one on a portuguese usinversity, perhaps:
>
> http://en.opensuse.org/Mirrors_Released_Version#Portugal
>
Good advice! I added openSUSE-10.3-FTP 10.3
/pub/opensuse/distribution/10.3/repo/oss/
on cesium.di.uminho.pt (Braga univ)
and it works fine.

Robert
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] multiboot

2007-12-12 Thread Robert W Best
Hi,
   SuSE 10.3 KDE is my workhorse but on other partitions I've several 
other Linux flavors (and MS WinMe). I can boot each OS and frequently 
add or replace one to explore a new Linux version. Doing so I 
encountered several problems for which I found no easy solutions.

Installing a new Linux usualy changes the MBR and prevents to boot  
some old Linux's. SuSE 10.3 does a good (not perfect) job in 
recognising other OSs, but Fedora 8 for instance left me with only 
Fedora and Windows to boot. 

Then I try to edit /boot/grub/menu.lst or grub.conf if it exists. If 
the new Linux uses lilo instead of grub I consider it incompatible 
with the old ones and delete it. If it doesn't give me root access, 
or shows the Gnome desktop, I restart.

One way out is to boot SuSE with the Boot Installed System option on 
its installation disk, logon as root, mount the new Linux with YaST 
Partitioner and try again to edit its menu.lst

Another way is to use Mandriva Free 2007 that holds the last boot menu 
list. Its installation disk features the Rescue System / Re-install 
Boot Loader option. Then I can boot again all old Linux's and try to 
add an entry for the new Linux on menu.lst - but unfortunately 
Mandriva is one of those dreadful distros that doesn't allow root 
access so again I've to use SuSE to access its menu.lst

Still another way is to use Knoppix or SimplyMepis to hack other 
systems - which seems to render passwords futile ...

Moreover there is the problem of different file systems. If I replace 
a Linux using ext3 by a Linux using reiserfs, and forget to edit 
/etc/fstab in SuSE for this partition, then SuSE refuses to boot ...

Any easier solutions?
Robert
-- 
http://rwbest.no.sapo.pt/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]