Koozali.org: home of the SME Server

Pstotext

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Pstotext
« on: November 23, 2006, 10:29:46 PM »
Hy
I need the pstotext rpm file. I googled for it and i just can't find it.
Can anyone tell me where to find it.

Update: I need ghostscript not pstotext.
"It should just work" if it doesn't report it. Thanks!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Pstotext
« Reply #1 on: November 23, 2006, 11:24:31 PM »
Quote from: "bpivk"
Hy
I need the pstotext rpm file. I googled for it and i just can't find it.
Can anyone tell me where to find it.

Update: I need ghostscript not pstotext.

You can find a psototext rpm here. A (custom) version of Ghostscript is provided in the RVanDenAker cups for smeserver repository
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Pstotext
« Reply #2 on: November 24, 2006, 11:56:04 PM »
Thanks for the files. I needed the sme version because i didn't want to install gcc and other stuff to compile it. But i'm stuck with a little problem.

The gostscript rpm doesn't want to install unless i install fonts for  it and fonts don't want to install unless i install ghostscript. Now what sohuld i do?
"It should just work" if it doesn't report it. Thanks!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Pstotext
« Reply #3 on: November 25, 2006, 12:03:47 AM »
What command are you using to install the gostscript rpm ?

Would
Code: [Select]
yum --enablerepo=base --enablerepo=updates install ghostscript do it for you?
Code: [Select]
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 ghostscript             i386       7.07-33          base              7.6 M
Installing for dependencies:
 VFlib2                  i386       2.25.6-25        base              271 k
 chkfontpath             i386       1.10.0-2         base               13 k
 ghostscript-fonts       noarch     5.50-13          base              808 k
 ttmkfdir                i386       3.0.9-14.1.EL    base               43 k
 urw-fonts               noarch     2.2-6.1          base              4.5 M
 xorg-x11-font-utils     i386       6.8.2-1.EL.13.37.2  updates           302 k
 xorg-x11-xfs            i386       6.8.2-1.EL.13.37.2  updates           315 k


Not sure if you want a specific version installed.

I tried putting all the rpms in one directory..
Code: [Select]
[root@c3 cups]# ls
cups-1.1.22-0.rc1.9.10.rvda.2.i386.rpm    ghostscript-fonts-5.50-13.noarch.rpm            hpijs-1.7.1-02.rvda.1.i386.rpm
cups-pdfdistiller-20040616-01.noarch.rpm  gimp-print-cups-common-4.2.7-2.rvda.1.i386.rpm  hpijs-ppds-1.7.1-02.rvda.1.i386.rpm
cups-samba-1.1.19-02.noarch.rpm           gimp-print-cups-de-4.2.7-2.rvda.1.i386.rpm      PrintAnalyzer-20030620-02.noarch.rpm
fontconfig-2.2.3-7.centos4.i386.rpm       gimp-print-cups-en-4.2.7-2.rvda.1.i386.rpm      smeserver-cups-0.0.1-02.noarch.rpm
foomatic-filters-3.0.2-02.noarch.rpm      gimp-print-cups-es-4.2.7-2.rvda.1.i386.rpm      smeserver-PrintAnalyzer-0.0.1-01.noarch.rpm
ghostscript-8.15.2-0.rvda.1.i386.rpm      gimp-print-cups-fr-4.2.7-2.rvda.1.i386.rpm      urw-fonts-2.2-6.1.rvda.1.noarch.rpm
[root@c3 cups]#

And then did..
Code: [Select]
yum --disablerepo=* localinstall \
 cups-1.1.22-0.rc1.9.10.rvda.2.i386.rpm \
 cups-pdfdistiller-20040616-01.noarch.rpm \
 cups-samba-1.1.19-02.noarch.rpm \
 fontconfig-2.2.3-7.centos4.i386.rpm \
 foomatic-filters-3.0.2-02.noarch.rpm \
 ghostscript-8.15.2-0.rvda.1.i386.rpm \
 ghostscript-fonts-5.50-13.noarch.rpm \
 gimp-print-cups-common-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-de-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-en-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-es-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-fr-4.2.7-2.rvda.1.i386.rpm \
 hpijs-1.7.1-02.rvda.1.i386.rpm \
 hpijs-ppds-1.7.1-02.rvda.1.i386.rpm \
 PrintAnalyzer-20030620-02.noarch.rpm \
 smeserver-cups-0.0.1-02.noarch.rpm \
 smeserver-PrintAnalyzer-0.0.1-01.noarch.rpm \
 urw-fonts-2.2-6.1.rvda.1.noarch.rpm

Which resulted in....
Code: [Select]
--> Finished Dependency Resolution
Error: smeserver-cups conflicts with e-smith-LPRng

The changelog for smeserver-cups states...
Code: [Select]

* Tue Jun 13 12:00:00 2006 Robert van den Aker <robert2{%}dds{*}nl>

    - [0.0.1-02]
    - s/Obsoletes/Conflicts/ e-smith-LPRng.
    - Add "use client driver" parameter to smb.conf [printers] template.
    - Send SIGTERM instead of SIGHUP to smbd in printer-sync event. [cf. SME: 1167]


So really I don't know.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Pstotext
« Reply #4 on: November 25, 2006, 01:35:07 AM »
Code: [Select]
yum --disablerepo=* localinstall \
 cups-1.1.22-0.rc1.9.10.rvda.2.i386.rpm \
 cups-pdfdistiller-20040616-01.noarch.rpm \
 cups-samba-1.1.19-02.noarch.rpm \
 fontconfig-2.2.3-7.centos4.i386.rpm \
 foomatic-filters-3.0.2-02.noarch.rpm \
 ghostscript-8.15.2-0.rvda.1.i386.rpm \
 ghostscript-fonts-5.50-13.noarch.rpm \
 gimp-print-cups-common-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-de-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-en-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-es-4.2.7-2.rvda.1.i386.rpm \
 gimp-print-cups-fr-4.2.7-2.rvda.1.i386.rpm \
 hpijs-1.7.1-02.rvda.1.i386.rpm \
 hpijs-ppds-1.7.1-02.rvda.1.i386.rpm \
 PrintAnalyzer-20030620-02.noarch.rpm \
 urw-fonts-2.2-6.1.rvda.1.noarch.rpm

Gives...
Code: [Select]
Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 PrintAnalyzer           noarch     20030620-02      PrintAnalyzer-20030620-02.noarch.rpm   32 k
 cups                    i386       1:1.1.22-0.rc1.9.10.rvda.2  cups-1.1.22-0.rc1.9.10.rvda.2.i386.rpm  3.8 M
 cups-pdfdistiller       noarch     20040616-01      cups-pdfdistiller-20040616-01.noarch.rpm   20 k
 cups-samba              noarch     1.1.19-02        cups-samba-1.1.19-02.noarch.rpm  539 k
 foomatic-filters        noarch     3.0.2-02         foomatic-filters-3.0.2-02.noarch.rpm  375 k
 ghostscript             i386       8.15.2-0.rvda.1  ghostscript-8.15.2-0.rvda.1.i386.rpm   17 M
 ghostscript-fonts       noarch     5.50-13          ghostscript-fonts-5.50-13.noarch.rpm  1.4 M
 gimp-print-cups-common  i386       4.2.7-2.rvda.1   gimp-print-cups-common-4.2.7-2.rvda.1.i386.rpm  1.2 M
 gimp-print-cups-de      i386       4.2.7-2.rvda.1   gimp-print-cups-de-4.2.7-2.rvda.1.i386.rpm  1.6 M
 gimp-print-cups-en      i386       4.2.7-2.rvda.1   gimp-print-cups-en-4.2.7-2.rvda.1.i386.rpm  1.6 M
 gimp-print-cups-es      i386       4.2.7-2.rvda.1   gimp-print-cups-es-4.2.7-2.rvda.1.i386.rpm  1.6 M
 gimp-print-cups-fr      i386       4.2.7-2.rvda.1   gimp-print-cups-fr-4.2.7-2.rvda.1.i386.rpm  1.6 M
 hpijs                   i386       1.7.1-02.rvda.1  hpijs-1.7.1-02.rvda.1.i386.rpm  555 k
 hpijs-ppds              i386       1.7.1-02.rvda.1  hpijs-ppds-1.7.1-02.rvda.1.i386.rpm  1.3 M
 urw-fonts               noarch     2.2-6.1.rvda.1   urw-fonts-2.2-6.1.rvda.1.noarch.rpm  5.7 M

Transaction Summary
=============================================================================
Install     15 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 38 M
Is this ok [y/N]:

Code: [Select]
rpm -ivh --force --nodeps smeserver-cups-0.0.1-02.noarch.rpm smeserver-PrintAnalyzer-0.0.1-01.noarch.rpm
Will install the last two but I don't think this is right.
Regards,
William

IF I give advise.. It's only if it was me....

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Pstotext
« Reply #5 on: November 25, 2006, 01:52:06 AM »
Well i only needed ghostscript to install pstotext so i can use it for knowledge tree.

But i have another question. How can i see what files are in repositories.
e.g.: yum --enablerepo=base --enablerepo=updates install ghostscript

How can i browse trough theese files if i ever need something like that.
"It should just work" if it doesn't report it. Thanks!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Pstotext
« Reply #6 on: November 25, 2006, 02:12:55 AM »
man yum might help for doing it in a technical way.

I just look in /ext/yum.conf for the url of the repository and then browse on over.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Pstotext
« Reply #7 on: November 25, 2006, 08:29:13 AM »
Quote from: "bpivk"
Well i only needed ghostscript to install pstotext so i can use it for knowledge tree.


I was going to try Knowledgetree out to manage my tech assignments.

Decide to do it now after your post reminded me.

There is a post at http://forums.contribs.org/index.php?topic=34229.msg147189#msg147189 that give a good idea of how to setup the extra files....
Code: [Select]
/sbin/e-smith/db yum_repositories set dag repository \
  BaseURL http://apt.sw.be/redhat/el4/en/i386/dag \
  EnableGroups 1 \
  GPGCheck 1 \
  Name Dag-repository \
  status disabled

Code: [Select]
/sbin/e-smith/db yum_repositories set atrpms repository \
 BaseURL http://dl.atrpms.net/el4-i386/atrpms/stable \
 EnableGroups 1 \
 GPGCheck 1 \
 Name Atrpms-repository \
 status disabled

Code: [Select]
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
Code: [Select]
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
Code: [Select]
/sbin/e-smith/expand-template /etc/yum.conf
Code: [Select]
cd /tmp
Code: [Select]
wget ftp://fr2.rpmfind.net/linux/PLD/dists/ra/PLD/i386/PLD/RPMS/pstotext-1.8g-1.i386.rpm
Code: [Select]
yum  --enablerepo=base --enablerepo=dag --enablerepo=updates --enablerepo=atrpms localinstall pstotext-1.8g-1.i386.rpm
Code: [Select]
yum  --enablerepo=base --enablerepo=dag --enablerepo=updates --enablerepo=atrpms install xpdf catdoc
Regards,
William

IF I give advise.. It's only if it was me....

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Pstotext
« Reply #8 on: November 25, 2006, 11:42:24 AM »
I checked that post and installed every rpm that i needed except pstotext which gave me a "not found" error. That's why i had to install it.
"It should just work" if it doesn't report it. Thanks!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Pstotext
« Reply #9 on: November 25, 2006, 11:45:23 AM »
Quote from: "bpivk"
I checked that post and installed every rpm that i needed except pstotext which gave me a "not found" error. That's why i had to install it.


Yes, you had to wget it then yum localinstall it.
Regards,
William

IF I give advise.. It's only if it was me....

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Pstotext
« Reply #10 on: November 25, 2006, 02:52:35 PM »
I couldn't. I got a not found error and i couldn't download the file. Not from linux not from another computer. That's why i had to do it manually.
"It should just work" if it doesn't report it. Thanks!