Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.html not working #6923

Closed
p5pRT opened this issue Nov 13, 2003 · 4 comments
Closed

install.html not working #6923

p5pRT opened this issue Nov 13, 2003 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Nov 13, 2003

Migrated from rt.perl.org#24493 (status was 'resolved')

Searchable as RT24493$

@p5pRT
Copy link
Author

p5pRT commented Nov 13, 2003

From warrend@tek.com

Created by warrend@tek.com

In perl-5.8.1 I tried the install.html target. It started to work and then
had the error shown below.

It failed here in installhtml. $^X is ./perl but the current dir is in pod/perlfunc where
there is no perl

415==> system($^X, $splitter, "../$filename") &&
416 warn "$0​: error running '$splitter ../$filename'"
417 ." from $podroot/$dirname";

I put links from perlfunc and perlipc back up to ../../perl and it then
worked. That is until it got to doing the index files.

There it tried to do the destination perlfunc directory which wasn't there
since the source perlfunc directory was empty. It bombed out because it did
an open on a directory that wasn't there.

I am not sure if perlfunc should have been empty or the code is not quite
right.

*****************************************************************************

LD_LIBRARY_PATH=/proj/wdtold/warrend/gnusrc/900180+perl-5.8.1/perl-5.8.1_sun5.8​:/tools/eda/ldv/bin​:/proj/eda/ldv/ldv/cur/tools/inca/lib​:/proj/eda/ldv/ldv/cur/tools/lib ./perl installhtml \
  --podroot=. --podpath=. --recurse \
  --htmldir=/proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/html \
  --htmlroot=/proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/html \
  --splithead=pod/perlipc \
  --splititem=pod/perlfunc \
  --libpods=perlfunc​:perlguts​:perlvar​:perlrun​:perlop \
  --verbose
splitting files by head.
splitting ./pod/perlipc.pod
  creating ./pod/perlipc/name.pod
  creating ./pod/perlipc/description.pod
  creating ./pod/perlipc/signals.pod
  creating ./pod/perlipc/handling_the_sighup_signal_in_daemons.pod
  creating ./pod/perlipc/named_pipes.pod
  creating ./pod/perlipc/deferred_signals__safe_signals_.pod
  creating ./pod/perlipc/using_open___for_ipc.pod
  creating ./pod/perlipc/filehandles.pod
  creating ./pod/perlipc/background_processes.pod
  creating ./pod/perlipc/complete_dissociation_of_child_from_parent.pod
  creating ./pod/perlipc/safe_pipe_opens.pod
  creating ./pod/perlipc/bidirectional_communication_with_another_process.pod
  creating ./pod/perlipc/bidirectional_communication_with_yourself.pod
  creating ./pod/perlipc/sockets__client_server_communication.pod
  creating ./pod/perlipc/internet_line_terminators.pod
  creating ./pod/perlipc/internet_tcp_clients_and_servers.pod
  creating ./pod/perlipc/unixdomain_tcp_clients_and_servers.pod
  creating ./pod/perlipc/tcp_clients_with_io__socket.pod
  creating ./pod/perlipc/a_simple_client.pod
  creating ./pod/perlipc/a_webget_client.pod
  creating ./pod/perlipc/interactive_client_with_io__socket.pod
  creating ./pod/perlipc/tcp_servers_with_io__socket.pod
  creating ./pod/perlipc/udp__message_passing.pod
  creating ./pod/perlipc/sysv_ipc.pod
  creating ./pod/perlipc/notes.pod
  creating ./pod/perlipc/bugs.pod
  creating ./pod/perlipc/author.pod
  creating ./pod/perlipc/see_also.pod
splitting files by item.
Can't exec "./perl"​: No such file or directory at installhtml line 415.
installhtml​: error running '/proj/wdtold/warrend/gnusrc/900180+perl-5.8.1/perl-5.8.1_sun5.8/./pod/splitpod ../perlfunc.pod' from ./pod/perlfunc at installhtml line 415.
././ext/attrs/attrs.pm => /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/html/./ext/attrs/attrs.html
installhtml​: error running pod/pod2html​: No such file or directory

Perl Info

Flags:
    category=install
    severity=low

Site configuration information for perl v5.8.1:

Configured by warrend at Tue Nov 11 11:06:44 PST 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
    uname='sunos rosewood 5.8 generic_108528-18 sun4u sparc sunw,ultra-5_10 solaris '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/proj/wdt/sun5.8/include'
    ccversion='', gccversion='3.2.3', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' '
    libpth=/usr/lib /usr/ccs/lib /proj/wdt/sun5.8/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E  -z ignore -z lazyload -z combreloc -R /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -G  -z ignore -z lazyload -z combreloc'

Locally applied patches:
    


@INC for perl v5.8.1:
    /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1/sun4-solaris-thread-multi
    /proj/wdt/gnu_sun5.8/perl-5.8.1/lib/5.8.1
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl/5.8.1/sun4-solaris-thread-multi
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl/5.8.1
    /proj/wdt/gnu_sun5.8/perl-5.8.1/addons/lib/site_perl
    .


Environment for perl v5.8.1:
    HOME=/login/warrend
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/tools/eda/ldv/bin:/proj/eda/ldv/ldv/cur/tools/inca/lib:/proj/eda/ldv/ldv/cur/tools/lib
    LOGDIR (unset)
    PATH=/stdapps/lsf/5.8/sparcv9/bin:/stdapps/lsf/local/bin:.:/proj/wdt/gnu_sun5.8/perl-5.8.1/bin:/proj/wdt/bin:/proj/wdt/sun5.8/bin:/proj/wdt/X.V11R6/sun5.8/bin:/login/warrend:/login/warrend/bin:/login/warrend/bin/sun5.8:/usr/ucb:/usr/openwin/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/proj/dpl/harry/bin:/tools/citrix6.0/wfica:/tools/eda/psd/15.0e/tools/pcb/bin:/tools/eda/psd/15.0e/tools/bin:/tools/eda/psd/15.0e/tools/dfII/bin:/tools/eda/psd/15.0e/tools/fet/bin:/tools/eda/psd/15.0e/tools/specctra/bin:/tools/eda/fetools/psd150/bin:/tools/eda/cadtools/psd150/bin:/tools/eda/ldv/LSF:/tools/eda/ldv/bin:/proj/eda/ldv/ldv/cur/tools/bin:/proj/eda/ldv/ldv/cur/tools/inca/bin:/proj/eda/ldv/lec/cur/bin:/proj/eda/ldv/debussy/cur/bin:/proj/eda/ldv/nLint/cur/bin:/proj/eda/common/vim/cur/bin:/stdapps/cms/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh

@p5pRT
Copy link
Author

p5pRT commented Nov 16, 2003

From @eserte

"warrend@​tek.com (via RT)" <perlbug-followup@​perl.org> writes​:

# New Ticket Created by warrend@​tek.com
# Please include the string​: [perl #24493]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt2/Ticket/Display.html?id=24493 >

This is a bug report for perl from warrend@​tek.com,
generated with the help of perlbug 1.34 running under perl v5.8.1.

-----------------------------------------------------------------
[Please enter your report here]

In perl-5.8.1 I tried the install.html target. It started to work and then
had the error shown below.

It failed here in installhtml. $^X is ./perl but the current dir is in pod/perlfunc where
there is no perl

415==> system($^X, $splitter, "../$filename") &&
416 warn "$0​: error running '$splitter ../$filename'"
417 ." from $podroot/$dirname";

I put links from perlfunc and perlipc back up to ../../perl and it then
worked. That is until it got to doing the index files.

There it tried to do the destination perlfunc directory which wasn't there
since the source perlfunc directory was empty. It bombed out because it did
an open on a directory that wasn't there.

I am not sure if perlfunc should have been empty or the code is not quite
right.

I think the better fix is this patch to installhtml​:

Inline Patch
--- ../bleedperl/installhtml	Wed Apr  2 23:51:39 2003
+++ ./installhtml	Sun Nov 16 20:47:42 2003
@@ -392,6 +392,7 @@ sub split_on_item {
     print "splitting files by item.\n" if $verbose && $#splititem >= 0;
     $pwd = getcwd();
     my $splitter = absolute_path($pwd, "$splitpod/splitpod");
+    my $perl = absolute_path($pwd, $^X);
     foreach my $pod (@splititem) {
 	# figure out the directory to split into
 	$pod      =~ s,^([^/]*)$,/$1,;
@@ -412,7 +413,7 @@ sub split_on_item {
 	    die "$0: error changing to directory $podroot/$dirname: $!\n";
 	die "$splitter not found. Use '-splitpod dir' option.\n"
 	    unless -f $splitter;
-	system($^X, $splitter, "../$filename") &&
+	system($perl, $splitter, "../$filename") &&
 	    warn "$0: error running '$splitter ../$filename'"
 		 ." from $podroot/$dirname";
     }

Regards,   Slaven

--
Slaven Rezic - slaven@​rezic.de

  tktimex - project time manager
  http​://sourceforge.net/projects/ptktools/

@p5pRT
Copy link
Author

p5pRT commented Nov 17, 2003

From @rgs

Slaven Rezic wrote​:

I think the better fix is this patch to installhtml​:

Thanks, applied as #21739.

@p5pRT p5pRT closed this as completed Nov 17, 2003
@p5pRT
Copy link
Author

p5pRT commented Nov 17, 2003

@rgs - Status changed from 'new' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant