Opened 15 years ago

Closed 14 years ago

#19132 closed defect (wontfix)

can't get 'texlive' to install due to bug in 'texi2html'

Reported by: aeevr@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: panther Cc:
Port: texi2html

Description (last modified by jmroot (Joshua Root))

I have an iBook G4 running OSX 10.3.9 Here's my port version btw:

% port version
Version: 1.710

I tried to install 'texlive', but it failed like so:

% sudo port install texlive
Password:
--->  Fetching texi2html
--->  Attempting to fetch texi2html-1.80.tar.gz from http://savannah.nongnu.org/download/texi2html
--->  Verifying checksum(s) for texi2html
--->  Extracting texi2html
--->  Configuring texi2html
--->  Building texi2html
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80" && make all " returned error 2
Command output: Making all in .
/bin/sh ./buildt2h.sh texi2html texi2html_configured.pl MySimple.pm T2h_i18n.pm texi2html.init translations.pl examples/l2h.init T2h_l2h.pm 
regenerating texi2html from MySimple.pm T2h_i18n.pm texi2html.init translations.pl texi2html_configured.pl examples/l2h.init T2h_l2h.pm
chmod a+x texi2html
Making all in doc
Generating texi2html.1...
sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
make[1]: *** [texi2html.1] Error 1
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: texlive_base texi2html texinfo lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
Error: Status 1 encountered during processing.
[Ada-Rubins-Computer:~] aeevr% source .cshrc
[Ada-Rubins-Computer:~] aeevr% sudo port -f build texlive_base
Password:
--->  Building texi2html
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80" && make all " returned error 2
Command output: Making all in .
make[1]: Nothing to be done for `all-am'.
Making all in doc
Generating texi2html.1...
sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
make[1]: *** [texi2html.1] Error 1
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: texi2html texinfo lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
Error: Status 1 encountered during processing.
[Ada-Rubins-Computer:~] aeevr% sudo port -f install texlive_base
--->  Building texi2html
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80" && make all " returned error 2
Command output: Making all in .
make[1]: Nothing to be done for `all-am'.
Making all in doc
Generating texi2html.1...
sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
make[1]: *** [texi2html.1] Error 1
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: texi2html texinfo lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
Error: Status 1 encountered during processing.

============================================== So I tried to istall the depedencies one by one, so I did:

% sudo port -f install xorg-libXaw
% sudo port -f install texlive_texmf-minimal
% sudo port -f install texlive_texmf-full
% sudo port -f install lzmautils
% sudo port -f install texinfo

which all completed without complaint.

When I tried to install 'texi2html' I got the following error:

% sudo port -f install texi2html--->  Building texi2html
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80" && make all " returned error 2
Command output: Making all in .
make[1]: Nothing to be done for `all-am'.
Making all in doc
Generating texi2html.1...
sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
make[1]: *** [texi2html.1] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

==============================================

I'm pretty sure the problem has to do with the setting of this env variable 'PACKAGE_DATE' which keeps getting set to '18:44 January ./configure.ac'.

In the executable file 'configure' I changed line 2276 from: PACKAGE_DATE="$srcdir"/mdate-sh "$srcdir"/configure.ac

to: PACKAGE_DATE="$srcdir"/mdate-sh

Then I followed the instructions in the 'INSTALL' file: 1)make clean 2)sh ./configure 3)make 4)make install which finished without complaint.

So I was feeling all pleased with myself that I got it to compile, but when I tried to install(also tried build btw) 'texlive' again I got the following error:

% sudo port -f install texlive
--->  Installing texi2html @1.80_0
Error: Target org.macports.install returned: Registry error: texi2html @1.80_0 already registered as installed.  Please uninstall it first.
Error: The following dependencies failed to build: texlive_base texi2html
Error: Status 1 encountered during processing.

=================================================================

So I tried to install 'texlive_base', but the sam problem:

% sudo port -f install texlive_base
--->  Installing texi2html @1.80_0
Error: Target org.macports.install returned: Registry error: texi2html @1.80_0 already registered as installed.  Please uninstall it first.
Error: The following dependencies failed to build: texi2html
Error: Status 1 encountered during processing.

=============================================================

Anyone know what I should do here? Seems like MacPorts won't accept the build of a dependency that is complied by me, the user, only its own builds. There's probably some simple thing I must do to get it to work, but it was not clear to me from looking at the Guide.

Thanks in advance for your help.

Change History (7)

comment:1 Changed 15 years ago by aeevr@…

Cc: aeevr@… added

Cc Me!

comment:2 Changed 15 years ago by aeevr@…

Cc: aeevr@… removed

Cc Me!

comment:3 Changed 15 years ago by aeevr@…

Cc: aeevr@… added

Cc Me!

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Cc: aeevr@… removed
Description: modified (diff)

Please remember to use WikiFormatting.

comment:5 Changed 15 years ago by aeevr@…

Thanks for fixing that. I had no idea about the WikiFormatting.

Just for completeness I'd like add that I edited the Portfile for 'texlive_base' to remove the dependecy on the the 'texi2html' package (removed "port:texi2html" from the "depends_lib" section of the Portfile) since it seems to automatically have the option set to not use it (in the "configure.args" section it says "--without-texi2html"). Anyway, that did not work.

I'm installing 'tetex' right now and that seems to be going swimmingly so, hopefully, I won't need 'texlive'.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Keywords: panther added
Resolution: wontfix
Status: newclosed

Panther is no longer supported.

Note: See TracTickets for help on using tickets.