Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Drew Taylor
At 09:36 PM 2/5/03 -0800, Michael Maibaum wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Wednesday, February 5, 2003, at 08:37 PM, Chris Nandor wrote:


Now, who is going to do a dmg of Apache / mod_perl / libapreq?  :-)


We'll be providing .pkg and .mpkgs shortly, and the packages that there 
are already are availible over webdav or from the website (webdav address 
is http://packages.opendarwin.org/) These packages are still in testing at 
the moment...

Perhaps this is a stupid question, but could someone explain the difference 
between a disk image (dmg) and a package (pkg)? I know the dmg "mounts" a 
virtual drive, but other than that which is better?

Drew

--
Drew Taylor| Web development & consulting
http://www.drewtaylor.com/ | perl/mod_perl/DBI/mysql/postgres
--
Netflix: DVD Rentals by mail with NO late fees or due dates!
Free Trial - http://www.netflix.com/Default?mqso=36126240
--



Re: (CB) text formats for documenting object relationships?

2003-02-10 Thread Drew Taylor
At 02:48 PM 2/10/03 -0800, Rich Morin wrote:

After 30+ years of text-based procedural programming, I'm now wrestling
with GUI-based OO programming, in the form of Cocoa, IB, and PB (not to
mention CamelBones :-).

Anyway, one of the things that has been getting in my way is the fact
that I have no text file which documents the relationships between the
objects (GUI and otherwise).  So, I worked up a text file format in
which I can write these things down:




Excellent idea! Just this weekend I've been running through the examples in 
Learning Cocoa and came across the same problem. For the example apps it's 
pretty to easy to keep the relationships in your head. But once you get to 
the level of the "Travel Advisor" & beyond, it's just too much! I know the 
info is available in the "Attributes" section of the control's Info Box, 
but you can't get the big picture from this level. I would love to see an 
app released that can create the type of report you mentioned.

After all it's just a matter of parsing the nib file... :-)

Drew

--
Drew Taylor| Web development & consulting
http://www.drewtaylor.com/ | perl/mod_perl/DBI/mysql/postgres
--
Netflix: DVD Rentals by mail with NO late fees or due dates!
Free Trial - http://www.netflix.com/Default?mqso=36126240
--



Re: magic bullet needed for Perl upgrades on Mac OS X

2003-02-27 Thread Drew Taylor
At 07:25 PM 2/27/03 +0900, Joel Rees wrote:

In order to handle version transitions cleanly, the run-time library has
to know which version of which modules it's supposed to have, and the
programs which link into it have to know which version they want. Java
can almost handle that.
Is perl there yet? Can a program go to the perl library and say, "I need
to link to HTML::FormatText, any version between n and m," and expect to
be understood?
The ever resourceful Brian Ingerson has released only.pm, which appears to 
do exactly this sort of thing. It's still pretty new, but looks very 
promising. You can even specify a range of versions, excluding specific 
releases within this range! Some people really have too much time on their 
hands... This requires 5.6.1 (would it work with 5.6.0?)

http://search.cpan.org/author/INGY/only-0.25/

From the README:
"The only.pm module allows you to install many different versions of a
Perl module distribution, and then specify which one should be used in
a program.
use only MyModule => '0.50';"

Drew
--
Drew Taylor| Web development & consulting
http://www.drewtaylor.com/ | perl/mod_perl/DBI/mysql/postgres
--
Netflix: DVD Rentals by mail with NO late fees or due dates!
Free Trial - http://www.netflix.com/Default?mqso=36126240
--


DBD::mysql dyld problems

2003-03-16 Thread Drew Taylor
And back to perl...

Last night I installed the "Complete Mysql" package from Apple's Unix
software page
(http://www.apple.com/downloads/macosx/unix_open_source/completemysql.html).
I previously had some version of mysql installed, but blew it all away
before installing this new package. Now, when I'm trying to install
DBD::mysql again I get the below error. Any ideas what I'm doing wrong?

I should note that my previous install of mysql & DBD::mysql worked fine.
The commandline mysql client also works correctly.

Drew

  CPAN.pm: Going to build J/JW/JWIED/Msql-Mysql-modules-1.2219.tar.gz

dyld: /usr/bin/perl can't open library:
/usr/local/mysql/lib/mysql/libmysqlclient.12.dylib  (No such file or
directory, errno = 2)

[beigeg3:~/.cpan/build/Config-Auto-0.03] drew% ls -l
/usr/local/mysql/lib/mysql/
total 3216
-rw-r--r--  1 root  mysql   18800 Feb 11 14:35 libdbug.a
-rw-r--r--  1 root  mysql   41592 Feb 11 14:36 libheap.a
-rw-r--r--  1 root  mysql   17440 Feb 11 14:36 libmerge.a
-rw-r--r--  1 root  mysql  299244 Feb 11 14:36 libmyisam.a
-rw-r--r--  1 root  mysql   27232 Feb 11 14:36 libmyisammrg.a
-rwxr-xr-x  1 root  mysql  130612 Feb 11 14:36 libmysqlclient.10.0.0.dylib
lrwxr-xr-x  1 root  mysql  27 Mar 16 05:40 libmysqlclient.10.dylib ->
libmysqlclient.10.0.0.dylib
-rw-r--r--  1 root  mysql  248124 Feb 11 14:35 libmysqlclient.a
lrwxr-xr-x  1 root  mysql  27 Mar 16 05:40 libmysqlclient.dylib ->
libmysqlclient.10.0.0.dylib
-rwxr-xr-x  1 root  mysql 788 Feb 11 14:35 libmysqlclient.la
-rwxr-xr-x  1 root  mysql  136628 Feb 11 14:36 libmysqlclient_r.10.0.0.dylib
lrwxr-xr-x  1 root  mysql  29 Mar 16 05:40 libmysqlclient_r.10.dylib
-> libmysqlclient_r.10.0.0.dylib
-rw-r--r--  1 root  mysql  259896 Feb 11 14:35 libmysqlclient_r.a
lrwxr-xr-x  1 root  mysql  29 Mar 16 05:40 libmysqlclient_r.dylib ->
libmysqlclient_r.10.0.0.dylib
-rwxr-xr-x  1 root  mysql 802 Feb 11 14:35 libmysqlclient_r.la
-rw-r--r--  1 root  mysql   19704 Feb 11 14:35 libmystrings.a
-rw-r--r--  1 root  mysql  265204 Feb 11 14:35 libmysys.a
-rw-r--r--  1 root  mysql  135164 Feb 11 14:36 libnisam.a


-- 
-----
Drew Taylor  *  Web app development & consulting
[EMAIL PROTECTED]  *  Site implementation & hosting
www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
-




Re: DBD::mysql dyld problems (fixed)

2003-03-16 Thread Drew Taylor

Drew Taylor said:
> And back to perl...
>
> Last night I installed the "Complete Mysql" package from Apple's Unix
> software page
> (http://www.apple.com/downloads/macosx/unix_open_source/completemysql.html).
> I previously had some version of mysql installed, but blew it all away
> before installing this new package. Now, when I'm trying to install
> DBD::mysql again I get the below error. Any ideas what I'm doing wrong?
>
> I should note that my previous install of mysql & DBD::mysql worked
> fine. The commandline mysql client also works correctly.

Ok, I got it working. And for the archives here's what I did. First, read
the INSTALL doc that comes with DBD::mysql because that put me on the
right direction. :-)

/Library/MySQL/bin/mysql_config --cflags --libs
-I'/Library/MySQL/include/mysql'
-L'/Library/MySQL/lib/mysql' -lmysqlclient -lz -lm

perl Makefile.PL --cflags=-I'/Library/MySQL/include/mysql'
--libs="-L/Library/MySQL/lib/mysql -lmysqlclient -lz -lm"

make && make test (all tests pass)

-- 
-
Drew Taylor  *  Web app development & consulting
[EMAIL PROTECTED]  *  Site implementation & hosting
www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
-




wxPerl

2003-06-08 Thread Drew Taylor
Has anyone used wxPerl on OS X? I've got it installed, and have run a 
couple samples (the perl.com article & tutorial #1 on perlmonks). But 
when I run these samples (drew% ./hello.pl via Terminal), I only get 
the window. No menubar, etc. Any ideas?