- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installing ghostscript 8.62 with all its dependenc...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 09:34 PM
тАО01-17-2009 09:34 PM
I try to install ghostscript on HP-UX 11.31.
from http://hpux.connect.org.uk/hppd/hpux/PostScript/ghostscript-8.62.0/
I started with its first depency package expat.
I get the following error.
I was able to run ./configure without any error. but when i run make i get following error.
#make
/bin/sh ./libtool --silent --mode=link cc -I./lib -I. -g -DHAVE_EXPAT_C
ONFIG_H -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/rea
dfilemap.o libexpat.la
(Bundled) cc: warning 922: "-g" is unsupported in the bundled compiler, ignored.
ld: Unknown input file type: "./.libs/libexpat.so"
Fatal error.
*** Error exit code 1
libexpat.so shows:
#file libexpat.so
libexpat.so: ELF-32 executable object file - IA64
Kindly help me for this issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 09:50 PM
тАО01-17-2009 09:50 PM
Re: Installing ghostscript 8.62 with all its dependencies.
If you're doing anything which requires a
C compiler, and if you don't have (or wish to
buy) the HP compiler product, then your first
step should probably be installing GCC. On
IA64, the bundled C compiler is insufficient
for many purposes. (On PA-RISC, it's
insufficient for _most_ purposes.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 10:33 PM
тАО01-17-2009 10:33 PM
Re: Installing ghostscript 8.62 with all its dependencies.
I am installing ghostscript just to convert postscript to epson printer format.
however, i installed gcc.
prod# /usr/local/bin/gcc -v
Using built-in specs.
Target: ia64-hp-hpux11.31
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.2.3
but i did not put the gcc in PATH.
hence cc was used during ./configure.
but when i put gcc in PATH.
I get following error during ./configure
prod# ./configure
checking build system type... ia64-hp-hpux11.31
checking host system type... ia64-hp-hpux11.31
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.
config.log:
...
.....
configure:2495: checking for C compiler default output file name
configure:2498: gcc conftest.c >&5
/usr/lib/hpux32/dld.so: Unable to find library '/usr/local/lib/hpux32/libintl.so
'.
gcc: Internal error: Killed (program as)
Please submit a full bug report.
See <> for instructions.
configure:2501: $? = 1
configure: failed program was:
| /* confdefs.h. */
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT "expat-bugs@li
#define PACKAGE_NAME "expat"
#define PACKAGE_STRING "expat 2.0.1"
#define PACKAGE_TARNAME "expat"
#define PACKAGE_VERSION "2.0.1"
configure: exit 77
Kindly suggest me a solution.>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 10:54 PM
тАО01-17-2009 10:54 PM
Re: Installing ghostscript 8.62 with all its dependencies.
>libexpat.so: ELF-32 executable object file - IA64
The bundled C compiler doesn't support -b. You created an executable rather than a shlib. You could of course just use ld -b to link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 11:01 PM
тАО01-17-2009 11:01 PM
Re: Installing ghostscript 8.62 with all its dependencies.
I was able to run ./configure successfully with gcc. what i did was mv all lib needed to hpux32 folder /usr/local/hpux32.
But i found there a file hpux32 object file.
so i renamed this file and created a folder hpux32 and put all the libraries here.
Then i run make.
#make
/bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmi
ssing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xml
wf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o libe
xpat.la
ld: Unknown input file type: "./.libs/libexpat.so"
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1
kindly help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2009 11:44 PM
тАО01-17-2009 11:44 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Remove this file, was it bad from the first time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 12:00 AM
тАО01-18-2009 12:00 AM
Re: Installing ghostscript 8.62 with all its dependencies.
I am a oracle dba and new to this kind of installation.
Could you kindly show me exactly how can i do what you said in steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 12:07 AM
тАО01-18-2009 12:07 AM
Re: Installing ghostscript 8.62 with all its dependencies.
My question was regarding reling with ld -b.
However i test removing ./.libs/libexpat.so.
This time:
dev2# make
/bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmi
ssing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xml
wf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o libe
xpat.la
gcc: ./.libs/libexpat.so: No such file or directory
*** Error exit code 1
Then I saw there are other versions of this file in the same directory i tried them as well but same.
dev2# ls
libexpat.a libexpat.lai libexpat.so.6.2
libexpat.la libexpat.so.6 libexpat.so.org
dev2# cp libexpat.so.6 libexpat.so
dev2# make
/bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmi
ssing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xml
wf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o libe
xpat.la
ld: Unknown input file type: "./.libs/libexpat.so"
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1
Do you suggest me to re-extract it form the source? Kindly suggest me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 12:11 AM
тАО01-18-2009 12:11 AM
Re: Installing ghostscript 8.62 with all its dependencies.
Thanks you all.
I re-extracted expat and then ./configure and make went fine.
Now i will try to do the same for all dependencies for ghostscript and let you all know.
Thanks for your efforts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 12:34 AM
тАО01-18-2009 12:34 AM
Re: Installing ghostscript 8.62 with all its dependencies.
I successfully install all dependencies for ghostscript 8.62.
-expat-2.0.1.tar1
-fontconfig-2.6.0-hppa-11.31.depot
-freetype-2.3.7-ia64-11.31.depot
-gcc-4.2.3-ia64-11.31.depot
-jpeg-6b-ia64-11.31.depot
-libiconv-1.12-ia64-11.31.depot
-libpng-1.2.34-ia64-11.31.depot
-zlib-1.2.3-ia64-11.31.depot
Now I extracted the ghostscript8.62
now from ghostscript folder.
dev2# ./configure
sh: ./configure: Execute permission denied.
dev2# chmod 766 configure
dev2# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
.........
...........
............
checking for local jasper configure script... no
checking for local jasper autogen.sh script... configure: error:
Unable to find jasper/src/libjasper/include/jas_config.h,
or generate generate such a file for this system. You will
have to build one by hand, or configure, build and install
the jasper library separately.
You can also pass --without-jasper to configure to disable
JPEG 2000 PDF image support entirely.
#
When i try to run like below.
dev2# make install
Make: Don't know how to make install. Stop.
dev2# make
Make: No arguments or description file. Stop.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 02:54 AM
тАО01-18-2009 02:54 AM
Re: Installing ghostscript 8.62 with all its dependencies.
I have fix the above issue by using.
# ./configure --without-jasper
---configure went successfuly--
but make
dev2# make install
Make: Must be a separator on rules line 29. Stop.
Could anybody help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 05:17 AM
тАО01-18-2009 05:17 AM
Re: Installing ghostscript 8.62 with all its dependencies.
I know nothing, but if you're building modern
freeware, you may also need a "make" program
like the one everyone else uses, namely GNU
"make".
http://www.gnu.org/software/make/
http://hpux.connect.org.uk/hppd/hpux/Gnu/make-3.81/
The "make" programs supplied with many
commercial UNIX operating systems are old and
feeble. Many freeware developers expect a
"make" which has more features.
After installing it, either get it ahead of
the HP-UX "make" on your path, or make a
link like:
/usr/local/gmake -> /usr/local/make
(or wherever you install it)
and then use "gmake" instead of "make" in
your command(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 05:21 AM
тАО01-18-2009 05:21 AM
Re: Installing ghostscript 8.62 with all its dependencies.
"make", but you did not put it in PATH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 09:19 PM
тАО01-18-2009 09:19 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Thanks a lot for the suggestion.
I used gmake it did run but it is giving another error after running for atleast 2 mins.
#gmake install
.......
.......
.......
mkdir -p /usr/local/share
mkdir -p /usr/local/share/ghostscript
mkdir -p /usr/local/share/ghostscript/8.62
mkdir -p /usr/local/bin
./src/instcopy -c -m 755 ./bin/gs /usr/local/bin/gs
gmake: execvp: ./src/instcopy: Permission denied
gmake: *** [install-exec] Error 127
Is it something which i can ignore.
Kindly help on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 09:23 PM
тАО01-18-2009 09:23 PM
Re: Installing ghostscript 8.62 with all its dependencies.
when i try testing gs ignoring above error.
dev2# gs /usr/local/share/ghostscript/8.62/examples/chess.ps
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libexpat.sl
/usr/lib/dld.sl: No such file or directory
[HP ARIES32]: Core file for 32 bit PA-RISC application
[HP ARIES32]: /usr/local/bin/gs saved to /ghost/ghostscript-8.62/ghostscript-8
.62/core.gs.
Abort(coredump)
Kindly help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 09:52 PM
тАО01-18-2009 09:52 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Is ./src/instcopy executable? What does "file ./src/instcopy" show?
>[HP ARIES32]: /usr/local/bin/gs saved to /ghost/ghostscript-8.62/ghostscript-8.62/core.gs.
This indicates you have a PA executable. That means you need a PA shlib libexpat.sl, which you must build on PA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 09:53 PM
тАО01-18-2009 09:53 PM
Re: Installing ghostscript 8.62 with all its dependencies.
ls -l ./src/instcopy
file ./src/instcopy
"man chmod"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2009 10:43 PM
тАО01-18-2009 10:43 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Thanks a lot all of you there.
I have successfully executed the gs test.
instcopy needed to chmod.
Now i am trying to use gs.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 06:23 AM
тАО01-26-2009 06:23 AM
Re: Installing ghostscript 8.62 with all its dependencies.
I did installed ghostscript sucessfully on one of the servers. But when i follow the same steps. It stucks.
all dependecies went fine.
ghostscript
#./configure (went fine)
# gmake install
................
..................
ld: (Warning) Unsatisfied symbol "_Unwind_DeleteException" in file /usr/
b/gcc/ia64-hp-hpux11.31/4.2.3/../../../libstdc++.so
9 warnings.
3 errors.
collect2: ld returned 1 exit status
gmake: *** [bin/gs] Error 1
Need your kind help again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 03:23 PM
тАО01-26-2009 03:23 PM
Re: Installing ghostscript 8.62 with all its dependencies.
You need a newer libunwind. The latest is: PHSS_39102
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 08:27 PM
тАО01-26-2009 08:27 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Do you think the error is also due to this pathch set inavaiablity?
I see the error message you kindly showing is a warning not error and i get so many warnings like that. I did not post all warnings i get but only last few lines from gmake install (mention in above post).
Kindly help me in this regard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 08:38 PM
тАО01-26-2009 08:38 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Actually you never listed the errors so that warning may be meaningless. I.e. you could have added the stab-me-in-the-back option +vshlibunsats.
The latest patch is always a good idea. But if you have that symbol, that's not the problem:
nm -px /usr/lib/hpux32/libunwind.so | grep _Unwind_DeleteException
>I did not post all warnings I get but only last few lines from gmake install
I need to see the errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 09:20 PM
тАО01-26-2009 09:20 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Actually I am oracle dba and new to this kind of installation on unix (hp_ux) platform.
Could you please tell me how can i get errors i face because on console i just seea lenghthy list of warning and outher stuff( i think related to compilation) no error message.
Kindly ask me if more information is needed.
#nm -px /usr/lib/hpux32/libunwind.so | grep _Unwind_DeleteException
0x0403cd60 T _Unwind_DeleteException
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 09:32 PM
тАО01-26-2009 09:32 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Your link output said:
ld: (Warning) Unsatisfied symbol "_Unwind_DeleteException" in file .../libstdc++.so
9 warnings.
3 errors.
There should be 9 warnings and 3 errors.
If you see: ld: Unsatisfied symbol ...
This is an error if it doesn't say "(Warning)".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 09:48 PM
тАО01-26-2009 09:48 PM
Re: Installing ghostscript 8.62 with all its dependencies.
Thanks for your continous help.
Here is the output:
...........
.............ld: (Warning) Unsatisfied symbol "_Unwind_SetIP" in file /usr/local/lib/gcc/ia64
-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_SetGR" in file /usr/local/lib/gcc/ia64
-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetIP" in file /usr/local/lib/gcc/ia64
-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetGR" in file /usr/local/lib/gcc/ia64
-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_RaiseException" in file /usr/local/lib
/gcc/ia64-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetRegionStart" in file /usr/local/lib
/gcc/ia64-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: Unsatisfied symbol "libiconv_open" in file ./obj/gdevopvp.o
ld: (Warning) Unsatisfied symbol "_Unwind_Resume" in file /usr/local/lib/gcc/ia6
4-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: Unsatisfied symbol "libiconv_close" in file ./obj/gdevopvp.o
ld: (Warning) Unsatisfied symbol "_Unwind_GetLanguageSpecificData" in file /usr/
local/lib/gcc/ia64-hp-hpux11.31/4.2.3/../../../libstdc++.so
ld: Unsatisfied symbol "libiconv" in file ./obj/gdevopvp.o
ld: (Warning) Unsatisfied symbol "_Unwind_DeleteException" in file /usr/local/li
b/gcc/ia64-hp-hpux11.31/4.2.3/../../../libstdc++.so
9 warnings.
3 errors.
collect2: ld returned 1 exit status
gmake: *** [bin/gs] Error 1
Kindly help me.