/usr/local/bin/pdf2ps: gs: not found

GS 8.54
Solaris 10
Oracle 11.5.10.2
I'm having problem regarding the pdf2ps which it seem cannot find the pdf2ps. When i try to print the pdf file in apps using pasta.
The printer confirm support pasta and post script.
The report submited is complete with warning. This is the error inside the log file.
/usr/local/bin/pdf2ps: gs: not found
Pasta: Error: Preprocess failed. Command=/usr/local/bin/pdf2ps /v99/app/applmgr/abghfuat/applcsf/out/ABGHFUAT_e2sscorhrmdba02/ABG_APXPBFOR_XML_BMO_2495102_1.PDF /v30/app/applmgr/abghfuat/comn/temp/pasta18270_0.tmp
Pasta: Error: Preprocess or Print command failed!!!
APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
.pdf file being generated, but failing when calling Pasta.

Hi,
Since you indicate a version number for ghostscript in your post (8.54), I'm guessing the issue is that gs is not in the path for the applmgr user. On my system (Linux, not Solaris, so there may be differences), gs and pdf2ps are in different directories.
Try running the following command as the applmgr user:
which gsIf you don't get the path to gs as output from that command, you will need to add the path to gs to the path environment variable of the applmgr user.
Regards,
John P.

Similar Messages

  • /usr/openwin/bin/xmkmf: imake: not found

    I'm trying to install TightVNC on Solaris 10 (sparc) and have ran into several issues. This was a fresh Solaris install, therefore I recently installed make, gzip, and gcc from the sunfreeware site.
    # xmkmf
    mv -f Makefile Makefile.bak
    imake -DUseInstalled -I/usr/openwin/lib/X11/config
    /usr/openwin/bin/xmkmf: imake: not found
    PATH env:
    # echo $path
    .:/usr/sbin:/usr/bin:/usr/local/bin
    I installed make in the /usr/local/bin folder.
    I'm not exactly sure what imake is so I'm fairly stuck at this point.

    I think I have an environment variable issue. Here is copy of the output of #env:
    OPENWINHOME=/usr/openwin
    PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb/:/usr/css/bin:/usr/sfw/bin
    PS1=#
    and here is an echo:
    # echo $path
    .:/usr/sbin:/usr/bin:/usr/local/bin
    I may be adding the variable wrong because I'm getting a "make not found" error now. Do you have a good link on adding / appending onto environment variables?
    Thanks

  • `make install` copies to /usr/local/bin

    And /usr/local/bin is apparently not on the default arch $PATH.
    This is odd becauase /usr/local/bin is the $bindir apparently for make by default.

    echo 'export PATH="${PATH}:/usr/local/bin:/usr/local/sbin"' > /etc/profile.d/local-bin.sh && chmod a+x /etc/profile.d/local-bin.sh
    But you really should use a PKGBUILD instead of make install so pacman can keep track of your packages in the system.

  • Not able to see make in /usr/local/bin even after installing the package

    Hi,
    I have installed the package make-3.8 for solaris 9 on my machine with sun os 5.9. But still I can not see 'make' in /usr/local/bin .
    Does anyone have an idea why?
    I installed the same as root using the command:
    pkdadd -d <packagename>
    But it gives me quite many warnings like :
    WARNING : /usr/local/bin/make <not present on Read only file system>
    WARNING : /usr/local/bin/doc/make/ABOUT-NLS <not present on Read only file system>
    At the end it says Installation of SMCmake was successful
    Still I can't see make in /usr/local/bin.
    Regards
    Manmeet

    Seems like /usr/local is mounted read-only? Run
    mount | grep local
    or
    touch /usr/local/test
    and see if you can write files in the directory.
    /M.

  • Make: /usr/bin/ar: Command not found

    Dear Team,
    Following error are encountered while installing 11gR2 on RHEL 5.5.
    make file log:
    /usr/bin/make -f ins_rdbms.mk rat_on part_on dm_on olap_on sdo_on ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1//bin/sh: /usr/bin/ar: No such file or directory
    /usr/bin/ar cr /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/libknlopt.a /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/kecwr.o
    make: /usr/bin/ar: Command not found
    make: *** [rat_on] Error 127
    - All rpms requirements are met. I have re-install GCC as well.
    Thanks in Adv.
    Yuvraj

    # yum provides /usr/bin/ar
    Loaded plugins: security
    binutils-2.17.50.0.6-14.el5.x86_64 : A GNU collection of binary utilities.
    Repo        : el5_u5_base
    Matched from:
    Filename    : /usr/bin/ar
    # ll /usr/bin/ar
    -rwxr-xr-x 1 root root 52632 Feb 11  2010 /usr/bin/arCould your file system or system installation be damaged?
    Perhaps you can try the following:
    # touch /forcefsck
    reboot

  • Make: /usr/bin/install: Command not found

    I'm working on a PKGBUILD, but I'm running into this:
    make: /usr/bin/install: Command not found
    make: *** [install] Error 127
    ==> ERROR: Build Failed.
    Aborting...
    What would cause this?  Old code?  Missing package?

    It was actually really old code, after a bit of successful this-should-probably-work script editing!  I created a package in the AUR called dasm, which is an assembler for the Atari 2600 among many other systems.
    http://aur.archlinux.org/packages.php?ID=37200

  • Sub:   /usr/bin/ksh: sqlplus:  not found.

    Hi,
    I installed Oracle 9R2 client on one server and i'm not able to execute sqlplus command it's throwing following error's
    :oracle:/home/oracle#sqlplus
    /usr/bin/ksh: sqlplus: not found.
    :oracle:/u01/app/oracle/product/9.2.0#sqlplus
    /usr/bin/ksh: sqlplus: 0403-006 Execute permission denied.
    then i gave 777 permission to /u01/app/oracle/product/9.2.0
    if i execute /u01/app/oracle/product/9.2.0/bin#sqlplus
    i can able to connect
    this is the Env variable i set in the .profile(AIX 5.2) PATH=/usr/bin:/etc:/usr/sbin:$ORACLE_HOME/bin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
    Can anyone help me on this
    Thanks!
    Krishna R

    then i gave 777 permission to /u01/app/oracle/product/9.2.0well, I would not do that...

  • /usr/local/bin

    Hello everyone,
    Whenever i am installing any s/w from source by compiling,its executable is getting stored in /usr/local/bin.Now im unable to use the s/w by just typing its executable name in the terminal,its giving me an error as "command not found".what i have to do is browse to the directory /usr/local/bin n then run the executable as ./xxxxx.How can i add the directory /usr/local/bin so that it too is checked for executables.
    Thanks in advance,
    Rajiv Nair.

    Anyway, /usr/local is made just for those things you do not want to be touched by your package manager. So, if for any reason you do not want to write a PKGBUILD for something (if e.g., it is just a little script you wrote and you want to install it system-wide; or you have some reasons to make the compilation routine step by step), then /usr/local is then just the right place: /usr/local/bin and /usr/local/sbin for executable with various permissions, /usr/local/lib for the libraries, may be /usr/local/src for the sources, etc. Then you should just modify your /etc/profile (or your .bashrc, .zshrc).
    This is not what is supported by arch, but it is something you can always do, if you like so, in any linux system of the world.

  • Simple script in /usr/local/bin just won't start - SOLVED

    I put this really simple script for starting psi into my /usr/local/bin, set it a+xr and added /usr/local/bin to my path. However, I just can't start the damn thing.
    Here's the script itself (I really don't think there's something wrong with it, since if I type it in the shell it works fine):
    #!/bin/zsh/
    #start psi, never stop
    while true;
    do psi;
    done
    Here's my users $PATH:
    ─$ print $PATH
    /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/local/bin:/opt/kde/bin:/opt/mozilla/bin:/opt/qt/bin
    Here's the permissions of the script:
    $ ls -lah /usr/local/bin
    total 4.0K
    drwxr-xr-x 2 root root 80 Dec 15 03:52 ./
    drwxr-xr-x 10 root root 240 Dec 10 18:55 ../
    -rwxrwxr-x 1 kamagurka users 60 Dec 15 03:51 psi.start*
    And here's what happens when I try to execute it:
    $ psi.start
    zsh: command not found: psi.start
    So, I'm either missing something incredibly obvious, or something freaky's going on here. I hope it's the former.
    EDIT: I had no idea where to put this, so I put it into Desktop Env since I'm trying to start a graphical app, but feel free to move it.
    EDIT: Yea, I was being a little dense.

    smoon wrote:Not sure if that's the problem, but try removing the trailing / (slash) from your script's shebang.
    See, something really obvious. Stupid, even. You can see, I don't do a lot of scripting.

  • What about /usr/local/bin + sbin merge?

    With the merge of /bin and /lib folders that just happened I was curious if there was a particular reason to keep both /usr/local/bin and /usr/local/sbin as actual folders in the filesystem, instead of making /usr/local/sbin a symlink to /usr/local/bin.

    arojas wrote:If you delete it, it will be recreated with every update of the filesystem package anyway
    This.
    Jindur wrote:So I guess that folder is actually not under my complete control
    The contents is*, pacman (actually, the filesystem package) just creates it for you since 99.9% of people either need it or don't care.
    If it bothers you that much, you can use ABS to build your own "filesystem" package without any /usr/local/ paths
    * Should be according to the Arch Packaging Standards unless someone writes a bad PKGBUILD which incidentally I found one of mine doing that yesterday... Accidents happen!
    Last edited by fukawi2 (2013-06-04 23:07:23)

  • How to put g95 in usr/local/bin?

    Hi all,
    I am trying to compile a program called elmerice.  When I type the "make compile" command, I get the following message:
    elmerf90-nosh -c Solvers/AIFlowSolve_nlD2.f90 -o Solvers/AIFlowSolve_nlD2.o
    /usr/local/bin/g95 -O5 -ffast-math -ftree-vectorize -march=nocona -fprefetch-loop-arrays -fomit-frame-pointer -fstrict-aliasing -momit-leaf-frame-pointer -falign-loops -I. -Ibinio -I/Applications/ElmerGUI.app/Contents//share/elmersolver/include -c Solvers/AIFlowSolve_nlD2.f90 -o Solvers/AIFlowSolve_nlD2.o
    /Applications/ElmerGUI.app/Contents/bin/elmerf90-nosh: line 18: /usr/local/bin/g95: No such file or directory
    I did install (I think successfully) g95 using macports, i.e. the command "sudo port install g95" but apparently it is not in /usr/local/bin, which seems to be where elmerice wants to find it.
    One complicating factor might be that /usr/local/bin does have gfortran it.
    It seems like elmerice will only use g95.  Can I put g95 in the /usr/local/bin directory from wherever I have it now, and if so, how?  Or can I just reinstall g95 in that directory?
    Thanks,

    Try creating a symbolic link from /usr/local/bin/g95 to wherever MacPorts put it. That is probably the easiest solution. Ideally, you would fix the makefile, but that wouldn't be easy.

  • /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

    When you install an application to /usr/bin  will it be more faster than installed on /usr/local/bin?
    I have Firefox installed in /usr/bin and Kazehakase installed to /usr/local/bin. And it seems that Firefox is faster than Kazehakase. Why?
    Last edited by Paingiver (2008-03-15 11:11:48)

    dyscoria wrote:
    Endperform wrote:The notion that an application can be sped up by linking it in your home directory, or even renaming it to one letter is also crazy.  Your install will search for an executable in the path specified in $PATH and then execute the first instance it finds, but this does NOT speed the application itself up.
    No seriously, if you rename all your executables to one letter then your system runs like lightning!
    * am i really that bad at sarcasm? *
    Yes, since there was no indication of sarcasm in your post.  A or would have worked

  • Usr/local/bin...or where?

    hey guys,
    I just made a package of sylpheed claws 2.00.  Everything went ok, but the binary was placed in /usr/local/bin.  For reasons I don't quite understand, this is not an arch-like place to be.  So where should I put it, and how should I modify my pkgbuild to put it there?
    btw, here's the fairly plain pkgbuild;
    pkgname=sylpheed-claws
    pkgver=2.0.0
    pkgrel=1
    pkgdesc="The stable extended version of sylpheed"
    url="http://claws.sylpheed.org/"
    licence=""
    depends=(pkgconfig libetpan)
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=
    source=(http://internap.dl.sourceforge.net/sourceforge/sylpheed-claws/$pkgname-$pkgver.tar.gz)
    md5sums=('7ddfc626484ae0954a78c5233931e21a')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --with-gtk2
    make || return 1
    make DESTDIR=$startdir/pkg install
    also, what forum should I have posted this to?
    thanks!

    Well ... it CAN be set to anywhere you like, but compliance with the Arch Packaging Standards would be preferable - or mandatory, if you want to submit your PKGBUILD to the AUR. A quick read of the AUR User Guidelines would also be useful in that case.
    General hints -
    ./configure --help
    will give you all the options for most apps. The ABS wiki pages provide the Arch-specific stuff.

  • How do I add /usr/local/bin to path

    Hi.
    I have installed arch linux on a server.
    It seems really very good - manged to install latest snort-inline easily...
    However (and this is really a completely NOOB question)
    - how do I add /usr/local/bin to the default (root) path ?
    I have tried to add
    PATH=/usr/local/bin
    to /etc/enviornment
    But it did not show up when using the - env command (after re-logging in)
    I know that I could sym link to /usr/bin but i would like to know.
    Any help would be good
    Cheers
    Last edited by yossarianuk (2008-10-02 10:31:21)

    There's a place for all three of /usr/bin, /usr/local/bin, and ~/bin --- even on Arch.
    If you download package whizbang-1.2.3 from some non-Arch site, its installer will often by default try to install its files into the /usr/local hierarchy. When making a PKGBUILD, you want to tell it instead to install into $pkgdir/usr, so that when you install the resulting pkg file with pacman, it goes into the /usr hierarchy. That's what the wiki page is saying: pacman-managed stuff goes into the /usr hierarchy.
    /usr/local/* is for files you want to install systemwide without making a PKGBUILD. Your own scripts are a great example. Also you might want to install some compiled files that way, if making a PKGBUILD isn't worth it or you don't have the time to write (*and maintain!*) one.
    ~/bin is for scripts (could be compiled files too) that you want to only be available to that specific user.

  • [RESOLVED] Can't detect symlink in /usr/local/bin

    The directory is in the path:
    echo $PATH
    /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl
    So I don't understand why I'm not able to run a symlink in /usr/local/bin.
    Any ideas as to why?
    Last edited by Goran (2012-10-17 23:24:12)

    drcouzelis wrote:There's a good chance whatever it links to doesn't exist (bad link), isn't executable, or isn't accessable by your user.
    Even dumber: "ln -s /usr/bin/myprogram\ -someoption linkname". I didn't realize that this is actually a link to a program named "myprogram -someoption".
    ... boy do I feel stupid.
    Thanks for your help.

Maybe you are looking for