Hello,
Below are more comments I have about the build process. Though, sometimes I
am intimidated by the experts' vision of status quo, etc. I'm getting over
it. So, for the purpose of improving the perl dostribution, please accept
my comments in the spirit they are intended: "to provide an objective
perspective to the perl5 build process with the hope that the process will
be improved for everyone involved".
And, if anyone has some suggestions for me that would get me closer to
using perl instead of building it, then I would be very appreciative.
My environment: SS10, Solaris 5.4 (no patches)
Thank you,
dk smith
=====
=====
Usage: Configure [-dehrEKOSV] [-f config.sh] [-D symbol] [-D symbol=value]
[-U symbol] [-U symbol=]
The -s option is not listed in the usage info. I could not tell any
diff btwn -de and -des. I still rcv'd tons of stuff spewing across the
screen.
=====
make distclean
Cleaning the distribution should either remove config.sh or move it
to a safe place like 'config.sh.date'. It is misleading to provide
a distclean target in make and NOT clean the distribution. I spent
many hours unknowingly being flogged by this little gem.
Please note that the statement:
@echo "Note that make realclean does not delete config.sh"
does not make it to stdout in any of the cases that I experienced.
In fact, I've never seen the message until I started poking around
looking for something like it.
=====
Include paths:
What exactly does the variable 'incpath' do? I wuold like to
know what variables affect the "-I/some/dir/path" option that
is given to the compiler. Comments or some other form of documentation
would be helpful.
Is the variable 'usrinc' useful? Again, a comment would have been
helpful. If I am using gcc-2.7.0 must I placed the path to my
fixed-includes here?
<<From experimentation I learned that Configure expects only one
path in the variable 'usrinc'. Giving it two paths of the form
'/some/path/one /some/path/two' causes an error in the Configure
script. I also conclude that 'incpath' does nothing.>>
======
Lib Path
For some reason, when gcc is linking (I assume it's linking) the
library -ldb cannot be found; causing the build of miniperl to
fail. This comes immediately after "ar *.o *.o, etc".
My config.sh file has the following variable defined:
libpth='/usr/lib /usr/ccs/lib /opt/sww/lib /opt/gnu/lib
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0'
Why does this fail when the file exists at: /opt/sww/lib/libdb.a
=====
Man pages:
installman1dir='/usr/man/manl'
installman3dir='/opt/sww/lib/perl5/man/man3'
It implies the installation process will place some man pages in
with my Solaris distribution's man pages (installman1dir) and
some a bit closer to my preferred location but still not where
I'd expect them to go. I don't want to litter my Sun distribution
with non-distribution files if I can avoid it.
I'm also not sure what, if any, significance I should place
on the 'manl' (man ell) leaf directory. I think that the man pages
should be installed in ${INSTALL_PREFIX}/man. So, for
the variables above, I supply the definitions:
installman1dir='/opt/sww/man/man1'
installman3dir='/opt/sww/man/man3'
Don't know, yet, if this will work due to my inability to build
the program... Though, the config.sh file does pick up the correct
values, it appears.
--
dks@spies.com | Performance is life, entertainment is death.
Below are more comments I have about the build process. Though, sometimes I
am intimidated by the experts' vision of status quo, etc. I'm getting over
it. So, for the purpose of improving the perl dostribution, please accept
my comments in the spirit they are intended: "to provide an objective
perspective to the perl5 build process with the hope that the process will
be improved for everyone involved".
And, if anyone has some suggestions for me that would get me closer to
using perl instead of building it, then I would be very appreciative.
My environment: SS10, Solaris 5.4 (no patches)
Thank you,
dk smith
=====
=====
Usage: Configure [-dehrEKOSV] [-f config.sh] [-D symbol] [-D symbol=value]
[-U symbol] [-U symbol=]
The -s option is not listed in the usage info. I could not tell any
diff btwn -de and -des. I still rcv'd tons of stuff spewing across the
screen.
=====
make distclean
Cleaning the distribution should either remove config.sh or move it
to a safe place like 'config.sh.date'. It is misleading to provide
a distclean target in make and NOT clean the distribution. I spent
many hours unknowingly being flogged by this little gem.
Please note that the statement:
@echo "Note that make realclean does not delete config.sh"
does not make it to stdout in any of the cases that I experienced.
In fact, I've never seen the message until I started poking around
looking for something like it.
=====
Include paths:
What exactly does the variable 'incpath' do? I wuold like to
know what variables affect the "-I/some/dir/path" option that
is given to the compiler. Comments or some other form of documentation
would be helpful.
Is the variable 'usrinc' useful? Again, a comment would have been
helpful. If I am using gcc-2.7.0 must I placed the path to my
fixed-includes here?
<<From experimentation I learned that Configure expects only one
path in the variable 'usrinc'. Giving it two paths of the form
'/some/path/one /some/path/two' causes an error in the Configure
script. I also conclude that 'incpath' does nothing.>>
======
Lib Path
For some reason, when gcc is linking (I assume it's linking) the
library -ldb cannot be found; causing the build of miniperl to
fail. This comes immediately after "ar *.o *.o, etc".
My config.sh file has the following variable defined:
libpth='/usr/lib /usr/ccs/lib /opt/sww/lib /opt/gnu/lib
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0'
Why does this fail when the file exists at: /opt/sww/lib/libdb.a
=====
Man pages:
installman1dir='/usr/man/manl'
installman3dir='/opt/sww/lib/perl5/man/man3'
It implies the installation process will place some man pages in
with my Solaris distribution's man pages (installman1dir) and
some a bit closer to my preferred location but still not where
I'd expect them to go. I don't want to litter my Sun distribution
with non-distribution files if I can avoid it.
I'm also not sure what, if any, significance I should place
on the 'manl' (man ell) leaf directory. I think that the man pages
should be installed in ${INSTALL_PREFIX}/man. So, for
the variables above, I supply the definitions:
installman1dir='/opt/sww/man/man1'
installman3dir='/opt/sww/man/man3'
Don't know, yet, if this will work due to my inability to build
the program... Though, the config.sh file does pick up the correct
values, it appears.
--
dks@spies.com | Performance is life, entertainment is death.