Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* My Patched headers, Perl, MySQL, pthreads, EGCS, etc, etc - RH 4.2
       [not found] <Pine.LNX.3.96.980311210010.18752A-100000@bartlet.df.lth.se>
@ 1998-03-11 22:30 ` Christopher Curtis
  1998-03-11 23:29   ` Michal Jaegermann
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Curtis @ 1998-03-11 22:30 UTC (permalink / raw)
  To: Johan Almqvist; +Cc: axp-list

On Wed, 11 Mar 1998, Johan Almqvist wrote:

> Thanks! I finally got perl to compile!
> This is perl, version 5.004_04 built for alpha-linux
> (RH4.2, 2.0.33, alpha-patches, your files, in that order, all in the
> "real" places (no /tmp)..)

Anyone want to donate a something-faster-than-a-UDB over here?  Grr...

Johan:  I'm glad you got that to compile.  I *finally* got MySQL to run
through configure, but now it complains that it wants a newer version of
Perl.  Do you think I could convince you to create a RPM of Perl5.004 for
me?  Pleeeeease?

And for the one person who asked me about MySQL:  It *just* finished going
though configure, I can't guarantee past that, but here's what has to
happen:

First:  Ignore what the MySQL documentation says.  It lies.  However, it
is close.  DO get the package it recommends.  DO NOT try to get it
directly.  It has moved to: ftp://www.tcx.se/pub/mysql/Downloads/Linux.
DO NOT try to get it from the US mirror ftp.mysql.net - there are no files
there whatsoever.  DO NOT download glibc - this isn't even needed.  DO NOT
download linuxthreads - they won't work without glibc, and you DID NOT
get that.  Untar the package you downloaded.  DO NOT believe the readme.
There is libpthread.a, and that is good.  There is libpthread.so, and that
is BAD.  It is an Intel binary.  DO this:

# cd /lib
# mv libpthread-0.5.so libpthread.-0.5.so.orig
# rm -f libpthread.so.0
# cd /usr/lib
# mv libpthread.a libpthread.a.orig
# cp <untardir>/libpthread.a .

Then run configure.  This is as far as I've gotten.

Also, I have compiled and installed an EGCS snapshot:

$ which gcc
/usr/local/bin/gcc
$ gcc --version
egcs-2.91.13 980308 (gcc-2.8.0 release)

It COULD NOT compile glibc 2.06, it would always seg fault in the sunrpc
directory (actually, it was the linker that was segfaulting - I read that
I could use a different linker, I may have needed a newer binutils, but
that's nothing I wanted to go through right now).  However, it seems to be
compiling everything else alright, so far.  Of course, I don't use C++ so
I can't testify to that, nor have I done any performance tests, but it
seems to make larger binary files.  What that tells me I have no idea, but
then again, I don't even know if that is true.  Oh - there was a problem
with it - it had an undefined reference to "HZ".  I #defined HZ to be 1024
(as per the standard header files) and it finished alright (once I got
past the RLIMIT_CPU... stuff). 

And as the MySQL compilation dies, I'll keep everyone informed ... hmm,
"storage size of `org' isn't known".  Great.  I just *love* these ones...

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: My Patched headers, Perl, MySQL, pthreads, EGCS, etc, etc - RH 4.2
  1998-03-11 22:30 ` My Patched headers, Perl, MySQL, pthreads, EGCS, etc, etc - RH 4.2 Christopher Curtis
@ 1998-03-11 23:29   ` Michal Jaegermann
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1998-03-11 23:29 UTC (permalink / raw)
  To: axp-list

> 
> Johan:  I'm glad you got that to compile.  I *finally* got MySQL to run
> through configure, but now it complains that it wants a newer version of
> Perl.  Do you think I could convince you to create a RPM of Perl5.004 for
> me?  Pleeeeease?

I posted a while ago on this list a warning that Perl supplied on in
RH 5.0 is shot.  It has more problems than just beeing obsolete.
I was told by some that it works for them (TM) ergo is fine. :-)
RSN I will post spec file and config which will allow to recompile
something saner.

When compiling perl ***pay attention*** to comments in hints/linux.sh
and uncomment what they say to uncomment for glibc.  This is important!
Note that most likely you do NOT want a binary compatibility with
Perl 5.0003 unless you have a big pile of modules compiled for it
and you are do not plan to recompile/replace them.  If you would ever
be doing some embedded perl then you will be glad that you picked
up to be NOT binary compatible with an old version.

Also all these '*.ph' files produced automatically by specs from Red
Hat are pure garbage.  Perl docs say so. :-)  If you nees some of them
then this automatic conversion supplies only a skeleton which has to
edited by hand as header parsing in h2ph is simple-minded at best.
Besides you may need one or two headers if you have some "legacy" Perl
4 code which cannot live without these.  Then you have to grab h2ph and
an editor and provide what is necessary. The current Perl is not using
these files at all as it has better and more reliable means.

  Michal


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-11 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.96.980311210010.18752A-100000@bartlet.df.lth.se>
1998-03-11 22:30 ` My Patched headers, Perl, MySQL, pthreads, EGCS, etc, etc - RH 4.2 Christopher Curtis
1998-03-11 23:29   ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox