Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: can't install DBD::mysql under cygwin for mysql5

by tphyahoo (Vicar)
on Feb 08, 2007 at 15:30 UTC ( #599032=note: print w/ replies, xml ) Need Help??


in reply to Re: can't install DBD::mysql under cygwin for mysql5
in thread can't install DBD::mysql under cygwin for mysql5

Pretty off-topic by now, but I'm interested, because this seems like something that could be useful in a variety of situations. (Which is why I answered on the thread, not private message.)

How does this work?

I don't really know the red hat packaging system. I have an ubuntu box, and am beginning to get handy with apt-get (not that handy though). Can I get it to work from there, either by using rpm on ubuntu, or some analogous way with apt-get?

I think a simple copy of a terminal red hat session where you went in and generated an "old source" would be valuable to others.


Comment on Re^2: can't install DBD::mysql under cygwin for mysql5
Re^3: can't install DBD::mysql under cygwin for mysql5
by shmem (Canon) on Feb 08, 2007 at 15:45 UTC
    How does this work?

    It's as simple as

    qwurx [shmem] 16:35 ~/old_stuff > perl -MLWP::Simple -e 'getstore("htt +p://ftp-stud.fht-esslingen.de/pub/Mirrors/download.fedoralegacy.org/r +edhat/9/os/SRPMS/mysql-3.23.54a-11.src.rpm","mysql-3.23.54a-11.src.rp +m")' qwurx [shmem] 16:38 ~/old_stuff > rpm2cpio mysql-3.23.54a-11.src.rpm | + cpio -i --make-directories cpio: write error: No space left on device qwurx [shmem] 16:38 ~/old_stuff > df -h . Filesystem Size Used Avail Use% Mounted on /dev/hda3 9,9G 9,4G 0 100% /home qwurx [shmem] 16:39 ~/old_stuff > ls -l total 12724 -rwxr-xr-x 1 shmem shmem 57 2007-02-08 16:38 filter-requires-mysq +l.sh* -rw-r--r-- 1 shmem shmem 193 2007-02-08 16:38 my.cnf -rw-r--r-- 1 shmem shmem 1131 2007-02-08 16:38 mysql-3.23.51-manfix +es.patch -rw-r--r-- 1 shmem shmem 8305482 2007-02-08 16:38 mysql-3.23.54a-11.sr +c.rpm -rw-r--r-- 1 shmem shmem 679 2007-02-08 16:38 mysql-3.23.54a-doubl +efree.patch -rw------- 1 shmem shmem 4677632 2007-02-08 16:38 mysql-3.23.54a.tar.b +z2 -rw-r--r-- 1 shmem shmem 360 2007-02-08 16:38 mysql-3.23.54-libdir +.patch qwurx [shmem] 16:39 ~/old_stuff >

    Whoops. Seems like my drive is stable... but you get the idea. There's the mysql-3.23.54a.tar.bz2 file and some patches from RedHat, along with some shell scripts and a spec file (which contains build instructions).

    Have to clean up a bit... I'll /msg you a link.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://599032]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-12-22 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls