- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Latex, tetex 3.0, pdflatex on HP-UX 11iv3 (090...
Operating System - HP-UX
1752756
Members
4962
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-21-2009 06:57 AM
09-21-2009 06:57 AM
Latex, tetex 3.0, pdflatex on HP-UX 11iv3 (0909 release)
This is actually more an announcement than a question.
Last week I spent some time compiling tetex v3.0 sources on HP-UX 11iv3 following a customer request.
I came across a number of "issues", some of which I could not find a solution to on the web.
Basically here is what it takes to compile the entire tetex package on HP-UX.
I copied the sources from http://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/dist
I copied tetex-src-3.0.tar.gz, tetex-texmf-3.0.tar.gz and tetex-texmfsrc-3.0.tar.gz
(it turns out I didn't need the last one).
the tetex-src-3.0 tar ball contains an INSTALL file with information on how to install the software. (i.e. create a number of directories, etc...)
I decided to use gcc (4.4.1), flex & bison for the build on HP-UX
the configure file does not have any specifics for HP-UX/gcc combination, and I didn't add any.
here is the command I used :
configure --prefix=/usr/local/TEX --disable-multiplatform -without-xdvik -without-dvipng
the configure stage works well, but the make all or make world stages gave me some trouble.
1st of all, HP-UX doesn't like having sources that include both and
basically what I had to do is replace all occurrences of by (in all sources generated by web2c))
2nd. the make command would stop with a strange error :
cd web2c && make CC='gcc'CFLAGS='-g -O2' LDFLAGS='' web2c
Expect one shift/reduce conflict.
bison -y -d -v ./web2c.y
conflicts: 1 shift/reduce
*** Termination signal 13
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
It turns out that this error has NOTHING to do with the bison command....
the directory that contains web2c.y has a problem ... 3 filenames end in -dist. These should be renamed to the names that are referenced in the Makefile (filenames are y_tab.c-dist, y_tab.h-dist & lex.yy.c-dist & should be renamed to y_tab.c, y_tab.h and lex.yy.c) Once you've done that the install goes fine (except for the occasional error which necessitates editing the c-source & replacing by
3rd. somewhere along the process everything stops with the message that "the sources are older than 5 years & so you cannot build this tree" ( or something in that style)....
what I did then was not very "clean", but I just set the system time backward to 2006 :-)
that fixed the problem (I did of course set the date forward afterwards).
If you use gcc to compile, the pdflatex binary (which is the one I was after) complains about a couple of binaries (only available in the gcc installation directory). So you should copy these files to /usr/lib & you'll be home free.
Also, if you want to move the binaries to a different server, do not forget to copy the /.texmf-config directory to the home of the user you want to run under.
Other than that, you should be fine. I know tex/latex/teTeX is rather old software, but it is still used & since I could not find much info on how to run it on HP-UX I decided to document my little experiment.
Enjoy
Last week I spent some time compiling tetex v3.0 sources on HP-UX 11iv3 following a customer request.
I came across a number of "issues", some of which I could not find a solution to on the web.
Basically here is what it takes to compile the entire tetex package on HP-UX.
I copied the sources from http://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/dist
I copied tetex-src-3.0.tar.gz, tetex-texmf-3.0.tar.gz and tetex-texmfsrc-3.0.tar.gz
(it turns out I didn't need the last one).
the tetex-src-3.0 tar ball contains an INSTALL file with information on how to install the software. (i.e. create a number of directories, etc...)
I decided to use gcc (4.4.1), flex & bison for the build on HP-UX
the configure file does not have any specifics for HP-UX/gcc combination, and I didn't add any.
here is the command I used :
configure --prefix=/usr/local/TEX --disable-multiplatform -without-xdvik -without-dvipng
the configure stage works well, but the make all or make world stages gave me some trouble.
1st of all, HP-UX doesn't like having sources that include both
basically what I had to do is replace all occurrences of
2nd. the make command would stop with a strange error :
cd web2c && make CC='gcc'CFLAGS='-g -O2' LDFLAGS='' web2c
Expect one shift/reduce conflict.
bison -y -d -v ./web2c.y
conflicts: 1 shift/reduce
*** Termination signal 13
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
It turns out that this error has NOTHING to do with the bison command....
the directory that contains web2c.y has a problem ... 3 filenames end in -dist. These should be renamed to the names that are referenced in the Makefile (filenames are y_tab.c-dist, y_tab.h-dist & lex.yy.c-dist & should be renamed to y_tab.c, y_tab.h and lex.yy.c) Once you've done that the install goes fine (except for the occasional error which necessitates editing the c-source & replacing
3rd. somewhere along the process everything stops with the message that "the sources are older than 5 years & so you cannot build this tree" ( or something in that style)....
what I did then was not very "clean", but I just set the system time backward to 2006 :-)
that fixed the problem (I did of course set the date forward afterwards).
If you use gcc to compile, the pdflatex binary (which is the one I was after) complains about a couple of binaries (only available in the gcc installation directory). So you should copy these files to /usr/lib & you'll be home free.
Also, if you want to move the binaries to a different server, do not forget to copy the /.texmf-config directory to the home of the user you want to run under.
Other than that, you should be fine. I know tex/latex/teTeX is rather old software, but it is still used & since I could not find much info on how to run it on HP-UX I decided to document my little experiment.
Enjoy
Corinne Haesaerts
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2009 12:54 AM
09-22-2009 12:54 AM
Re: Latex, tetex 3.0, pdflatex on HP-UX 11iv3 (0909 release)
>Termination signal 13
This is SIGPIPE. It will occur if the reader terminates before the writer.
Do you know who the two processes are?
This is SIGPIPE. It will occur if the reader terminates before the writer.
Do you know who the two processes are?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP