Home
Blog
Comic Archive
Creators
Cast
Forum
Photos
Store
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2013, 04:01:56 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
The look of the forum is still being worked on. Thank you for your patience.
193705
Posts in
16235
Topics by
17052
Members
Latest Member:
stew6engine
AppleGeeks.com
|
Help / Advice
|
Programming
| Topic:
They will not talk?
0 Members and 1 Guest are viewing this topic.
Pages:
[
1
]
Author
Topic: They will not talk? (Read 1951 times)
sven_the_money
Newbie
Posts: 1
They will not talk?
«
on:
October 14, 2007, 08:28:47 PM »
Hey I am trying to write a PERL script to work with appache to so that I can talk to mySQL server.
I have appache installed. No problems there. I even have the cgi portion working (I think). I am using the one that the OS ships with.
I have mySQL set up and working. I can talk to it through the command line. I even have a couple tables set up thanx to the command line.
I have PERL working, ready to go (again shipped with OS), i have tested (not in the cgi) but have it working. I can't get the DBI working so that I can get it to talk to the mySQL server. I get an error saying that PERL can't find the DBI.pm file. How do i go about setting it up.
The important info:
OS: Apple OS X 10.4.10
G4 Laptop
cpan buddles::DBI did not work and the 'make.pl' file does not work that the cpan DBI download does not work.
thanx
~Luke~
Logged
Makdaam
Full Member
Posts: 192
Re: They will not talk?
«
Reply #1 on:
October 15, 2007, 12:20:47 PM »
Do you have the mod_perl module installed?
Checkout Apache guides for more info, "How to make XXX work with Apache?" is a very common question.
Logged
zizdodrian
Hero Member
Posts: 2836
Invincibility is absolute. Security is relative.
Re: They will not talk?
«
Reply #2 on:
October 18, 2007, 01:12:47 AM »
I have had huge trouble installing MySQL and DBI on Mac OS X. I found a guide from Apple themselves which really helped.
Make sure you install the XCode tools, since you need the GCC package that is bundled with them, and visit cpan.org to download both DBI and DBD:MySQL. Both are vital for proper communication. Then you should be able to compile them properly.
If using 'perl Makefile.PL', 'make', 'make install' doesn't work, try prefixing every line with 'sudo' and executing them as root.
Logged
Cheers,
Christopher
-----
Code:
perl -e'use MIME::Base64;eval(decode_base64("dXNlIExXUDo6U2ltcGxlO215JFM9Z2V0Imh0dHA6Ly9jZ2lmZmFyZC5jb20vc2lnIjtldmFsKCRTKTs="));'
Pages:
[
1
]
AppleGeeks.com
|
Help / Advice
|
Programming
| Topic:
They will not talk?
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> General Chat
=> Mac-ish Talk
-----------------------------
Applegeeks
-----------------------------
=> Applegeeks Comics
===> Applegeeks Lite
=> Hawk's Office
=> Ananth's Office
=> BatmanX's Office
===> Site Bug Tracker
-----------------------------
Applegeeks Community
-----------------------------
=> Writers' Corner
=> Art Corner
===> Sketchadoodle Monday
=> Color Me
-----------------------------
Entertainment
-----------------------------
=> TV Shows and Movies
=> Music
=> Books and Comic books
=> Games
-----------------------------
Help / Advice
-----------------------------
=> Photoshop
=> Illustrator
=> Flash
=> Computers
=> Programming