Re: Problems installing DBD::mysql
I am wondering if you are having the same problem I am. I keep finding perl modules where the developer has made no allowance for the mixture of 32 bit and 64 bit Macs, and then the binaries won't compile. I have no good workaround, I am not enough of a Makefile expert to fix the flags. On 2/12/11 2:55 AM, Marek Stepanek marekstepa...@yahoo.co.uk wrote: On 04.02.2011 12:24, Jeremiah Foster wrote: Have you installed the mysql libraries on your OS X system first? You need more that just the perl bindings to MySQL, you need to have MySQL installed on your machine, along with whatever libraries needed to run it. That is to say, runtime and buildtime dependencies. BTW, you may want to look into Postgres since MySQL was recently bought by Oracle. Regards, Jeremiah Sorry, Jeremiah, I answered off list, privately. Here the contents of my answer: Hello Jeremiah! Thank you for your answer! At least, there was one. I could not answer you in time, because my only computer, my life partner, PBP 17' was in clinic for two weeks. Now I have a new logic board, but still now DBD::mysql module and not many answers in this group :-( Of course I have mysql installed; and for the next one, asking questions: yes, on my $PATH there are the mysql bin included: % echo $PATH /sw/bin:/sw/sbin:/usr/local/sbin:/sw/include:/usr/local/bin:/usr/local/mys ql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/b in:/usr/X11R6/bin Best greetings to all marek Send instant messages to your online friends http://uk.messenger.yahoo.com
Re: Web Apps
Thanks for the info - I was interested in iPad apps, but put off by the $99 just to download and look over the SDK. A web app sounds better - you wouldn't have to write a different one for every smartphone. -Original Message- From: Bill Stephenson bi...@ezinvoice.com Sent: Feb 21, 2010 4:19 PM To: Perl MacOSX macosx@perl.org Subject: Web Apps I started playing with iPhone/iTouch/iPad web apps just last week. http://developer.apple.com/safari/library/navigation/ index.html#section=Resource%20Typestopic=Coding%20How-Tos Apple has made it incredibly easy to create a web app that runs exactly like a native app on these devices. Of course, perl is a perfect server side language to power these apps, and BBEdit and Perl on a Mac make the perfect IDE to create these web apps. While poking around there I also found out that Safari on the Mac OS also provides some big enhancements for web based apps now too. Check this out: Safari on iPhone, Mac OS X, and Windows all implement the Offline Web Applications feature of HTML5. This feature allows you to cache all of the resource files for your web application on the client, improving the load time of your application and making it possible to create an application which is fully functional even when there is no network connection. (source: http://developer.apple.com/safari/library/codinghowtos/Desktop/ DataManagement/index.html) This is actually fulfilling a vision I expressed right here waaay back in 2005: http://www.mail-archive.com/macosx@perl.org/msg08946.html Geez, It's like they've been working all this time for me entirely for free ;) Seriously, according to the news this week it now looks like most all Smart Phone makers will adapt a similar, if not the same, approach to web based apps that run on these devices. Think about it, Apple knows that laptops and desktops need to be able to run these same applications because it provides a fast and inexpensive way for developers to integrate the use of these applications with these different devices. Users want that, and they want them to Feel like a native application too. Apple is essentially giving them that. So, looking forward it's easy to imagine that many Native apps will really be Web Apps. The client side will contain the necessary tools to run them. Updates and upgrades happen at the atomic level on the server side and are instant and seamless and distributed as soon as the software is accessed. (that's something I learned right here ;) The advantages to developers both small and large are huge. I now believe this is exactly where Apple is heading and as you can imagine, I'm absolutely thrilled about it :) -- Bill Stephenson
Problem with compiling mod_perl
I¹m not sure what is going on. It looks like a possible spam infestation, but I¹m not sure it is, or where it came from. I recently got a new intel mac and was going through the routine of setting it up to my specs. Since it has a different architecture, I was compiling Mod Perl. When I ran ³make test² I got the response. [Sat Dec 06 12:04:50 2008] [error] Can't load Perl file: ApacheTest/PerlRequireTest.pm for server hoetechnology.com:8529, exiting... [warning] halting tests On some research, it looks like hoetechnology is a known spammer. I tried a clean download, but the problem re-appeared Any Ideas? Should I contact someone?
Re: Problem with compiling mod_perl
After more research, I found the following article - needless to say, I am on the case. Probably a good thing I found it - I've only had the machine since Wednesday, put I have been at many sites doing my Holiday shopping. From: Celeste Suliin Burris [EMAIL PROTECTED] Date: Sat, 06 Dec 2008 13:02:30 -0800 To: Mac OS X Perl Elist macosx@perl.org Conversation: Problem with compiling mod_perl Subject: Problem with compiling mod_perl I¹m not sure what is going on. It looks like a possible spam infestation, but I¹m not sure it is, or where it came from. I recently got a new intel mac and was going through the routine of setting it up to my specs. Since it has a different architecture, I was compiling Mod Perl. When I ran ³make test² I got the response. [Sat Dec 06 12:04:50 2008] [error] Can't load Perl file: ApacheTest/PerlRequireTest.pm for server hoetechnology.com:8529, exiting... [warning] halting tests On some research, it looks like hoetechnology is a known spammer. I tried a clean download, but the problem re-appeared Any Ideas? Should I contact someone?
Re: Problem with compiling mod_perl
Whoops - apparently the url didn't get pasted. http://www.macworld.com/article/60823/2007/10/trojanhorse.html From: Celeste Suliin Burris [EMAIL PROTECTED] Date: Sat, 06 Dec 2008 13:25:32 -0800 To: Mac OS X Perl Elist macosx@perl.org Conversation: Problem with compiling mod_perl Subject: Re: Problem with compiling mod_perl After more research, I found the following article - needless to say, I am on the case. Probably a good thing I found it - I've only had the machine since Wednesday, put I have been at many sites doing my Holiday shopping. From: Celeste Suliin Burris [EMAIL PROTECTED] Date: Sat, 06 Dec 2008 13:02:30 -0800 To: Mac OS X Perl Elist macosx@perl.org Conversation: Problem with compiling mod_perl Subject: Problem with compiling mod_perl I¹m not sure what is going on. It looks like a possible spam infestation, but I¹m not sure it is, or where it came from. I recently got a new intel mac and was going through the routine of setting it up to my specs. Since it has a different architecture, I was compiling Mod Perl. When I ran ³make test² I got the response. [Sat Dec 06 12:04:50 2008] [error] Can't load Perl file: ApacheTest/PerlRequireTest.pm for server hoetechnology.com:8529, exiting... [warning] halting tests On some research, it looks like hoetechnology is a known spammer. I tried a clean download, but the problem re-appeared Any Ideas? Should I contact someone?
Re: Installing ImageMagick - how to guide
Very helpful - I need the Intel hint. Couple of quibbles - you should use make check, not make test. On Ghostscript, you can just use '--disable-cups' in the ./configure command - much to be preferred over Makefile editing. From: Peter N Lewis [EMAIL PROTECTED] Date: Tue, 15 Apr 2008 21:09:32 +0800 To: macosx@perl.org Subject: Installing ImageMagick - how to guide I've fought ImageMagick install a few times, and again recently (it is better, but still a pain). One issue that affected me and probably would not affect others is I needed to keep the non-universal builds of libjpeg et al out of /usr/local, hence the prefix used in this, but probably not needed for most users. Note the lines with [] include instructions - you can't just run this lot as a script. Hopefully this is useful to someone, Peter. cd mkdir install cd install setenv MACOSX_DEPLOYMENT_TARGET 10.4 setenv LDFLAGS -L$HOME/unix/local/lib [Install libtiff] curl -O ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.8.2.tar.gz tar zxf tiff-3.8.0.tar.gz cd tiff-3.8.2 ./configure --enable-shared --prefix=$HOME/unix/local make make test make install cd .. [Install libpng] curl -O ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.2.25.tar.gz tar zxf libpng-1.2.25.tar.gz cd libpng-1.2.25 ./configure --enable-shared --prefix=$HOME/unix/local make make install make test cd .. [Install libjpeg] curl -O http://www.ijg.org/files/jpegsrc.v6b.tar.gz tar zxf jpegsrc.v6b.tar.gz cd jpeg-6b/ [For intel, edit configure and add 'i386' to the end of the ltconfig line] ./configure --enable-shared --prefix=$HOME/unix/local ln -s `which glibtool` ./libtool make make test make install cd .. [Install freetype] curl -O hthttp://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz tar zxf freetype-2.3.5.tar.gz cd freetype-2.3.5 ./configure --enable-shared --prefix=$HOME/unix/local make make install cd .. [install ghostscript] curl -O http://superb-west.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.62 .tar.gz tar zxf ghostscript-8.62.tar.gz cd ghostscript-8.62 ./configure --enable-shared --prefix=$HOME/unix/local make [Comment out #include cups/cups.mak in Makefile] make install cd .. [Install imagemagick] curl -O ftp://mirror.aarnet.edu.au/pub/ImageMagick/ImageMagick-6.2.5-5.tar.gz tar zxf ImageMagick-6.2.6-1.tar.gz cd ImageMagick-6.2.6 ./configure --prefix=$HOME/unix/local make sudi make install cd .. -- Keyboard Maestro 3.0 Now Available! Keyboard Maestro http://www.keyboardmaestro.com/ Macros for your Mac http://www.stairways.com/ http://download.stairways.com/
Re: Mac OS alias from Perl
Use a symbolic link instead. Perl handles those natively, and they can be accessed from the command line. The Finder just treats them the same as aliases. From: Dan Neville [EMAIL PROTECTED] Date: Sat, 8 Dec 2007 19:01:46 -0500 To: macosx@perl.org Subject: Mac OS alias from Perl Hello, Does anyone know how to make a Mac OS alias in Perl? So, I wish to have Perl create aliases in multiple directories rather than copy the original file. Thanks, Dan --
Re: Spreadsheet::WriteExcel and ODBC
I'm a bit confused as to why you need to use ODBC. I just connect to the remote MySQL server via the DBI when I'm using Perl. I have my Linux machine running MySQL 5.0. From: Mike Schienle [EMAIL PROTECTED] Organization: Custom Visuals, LLC Date: Wed, 07 Jun 2006 16:51:36 +0100 To: macosx@perl.org Subject: Spreadsheet::WriteExcel and ODBC Hi all - I need to write some Excel files with ODBC access to a MySQL database. I've used Spreadsheet::WriteExcel in the past for writing formulas, formatting, etc., with no problems, but the ODBC connection is new to me. I tried it manually (just opening a blank spreadsheet and connecting to a remote MySQL server) last night using Actual's ODBC client demo and that worked fine. The WriteExcel docs are a bit vague [to me] on connecting to an ODBC source, though. Has anyone done this via Spreadsheet::WriteExcel? Do you mind passing along a couple hints? Would this require any customer/client to have an ODBC client on their system for this to work? If so, I may just go with static data and have the customer pick up a new spreadsheet each time. Also, as mentioned above I'm using Actual's ODBC client. Is there a better client out there? Or an Open Source one that's competitive? Thanks. -- Mike Schienle
Re: [OT] Text Editor for OSX
Actually, BBEdit takes a pretty liberal view. I actually called them one time to see if they had a multiple copy discount, since I have 3 computers, and they said I really only needed two, since I am the only user of the laptop and one of the desktops. I actually tried Emacs. I'm a Solaris Sysadmin, and it was way too counterintuitive. I quickly returned to VI. The learning curve on BBEdit is such that you can be productive the first time you open a file, but you continually discover a better way to do it. If you INSIST on free, try vim (http://www.vim.org) or NEdit (http://www.nedit.org/). -Original Message- From: Pete Prodoehl [EMAIL PROTECTED] Sent: Oct 4, 2004 5:40 AM To: MacPerlOSX [EMAIL PROTECTED] Subject: Re: [OT] Text Editor for OSX Ken Williams wrote: On Oct 3, 2004, at 9:46 AM, wren argetlahm wrote: (SubEthaEdit since my copy of BBEdit is Classic and a new one costs way to much for my budget). If you want to write one because you think it'll be fun, okay. But if you want to write one because you think you'll save money: suppose you earn about $40/hour. BBEdit upgrade costs about 60 bucks. Do you think it'll require more than one and a half hours of your time to write something better for your needs than BBEdit? You assume he needs only one copy of BBEdit... Combining the Macs I have at home, and the ones I use at work is about 5 machines (not to mention the non-Mac computers I use.) I'm assuming I'd need licenses for each machine if I went with BBEdit, right? Instead I'm using an open-source editor on all machines and not spending $200 on licenses. Don't get me wrong, BBEdit is a great editor, but it doesn't fit my needs, which is a text editor that I can install on all of my computers, regardless of OS, for a reasonable price. Pete
Re: OT: looking for the relevant list
I subscribe to the Apple unix-porting list. It deals with just these kind of questions. You can subscribe at http://www.lists.apple.com/mailman/listinfo/unix-porting. On 04/02/2003 14:47, Marco Baroni [EMAIL PROTECTED] wrote: Dear All, Suppose one has a question about compiling some (perl-unrelated) c code (originally developed on linux) on os x, is there a list where it would be appropriate to pose this kind of question? Thanks! Marco
Re: [OT}Arrgh, Something has gone wrong with my permissions
Actually, the fastest fix (on Jaguar) is to boot from the CD and run Disk Utility (the Fix Permissions part of the First Aid tab. On 12/03/2002 12:05, Phillip Burk [EMAIL PROTECTED] wrote: On Tuesday, December 3, 2002, at 02:58 PM, Jerry LeVan wrote: This morning when I tried to send some mail I was kept getting failure messages. Reading mail was OK. Mail log asserted localhost had refused connection. After some putzing around I noticed that / was owned by me and had all permissions turned on! System and System/Library seem to have suffered a similar fate. I started getting mail failures at about the same time I installed theeUSBSmartmedia upgrade package. I changed the owner/permissions of / to drwxr-xr-x 51 root admin 1734 Dec 3 13:56 / That seemed to get mail going again, ( I set Don't Blame Sendmail ) Could someone :) email a copy of a long directory listing of / and also include the owner/permissions for the /System/Library directory? Jerry, Run the Repair Privileges tool in Disk Utility instead. It's under the First Aid tab. You can copy the log out of the display window and save it in case you have some unique privs settings on your box. Phil Burk Systems Support Technician Wiley Publishing, Inc. 10475 Crosspoint Blvd Indianapolis, IN 46256 317.572.3049 phone 317.572.1049 fax [EMAIL PROTECTED] [EMAIL PROTECTED]
Slightly OT - Tk on Mac OS X
Does anyone have a book, website or other resource to recommend as a beginners' tutorial on installing and using Tk on Jaguar?
Re: OS Poll
Erik Price at 8:21 AM 9/21/02 Apple clearly isn't too smart, at least in how they've numbered their releases. But that's why they simply can't skip to 10.5, because they've set a doom clock on their operating system. After OS X 10.9, what will it be? OS X 11.0 ? OS X 10.10 ? That's going to look kind of stupid from a advertising/marketing perspective. You won't see Apple jumping major version numbers, I'll put money on that. Erik Well, isn't that what Intel has done with the Pentium I, Pentium II, etc? (although I thought Sexium would have been amusing)
Re: need a hand
You're telling me? By the way, I have two email addresses (work and home) in case someone is getting confused. On 09/20/2002 11:45, Puneet Kishor [EMAIL PROTECTED] wrote: Burris, Celeste Suliin wrote: I agree with other suggestion. Unfortunately, not all firewalls/proxy server are Mac (or anything not MS) friendly. I sit in a Windoze shop, and the only way I can get it to work is to download the tar.gz file, untar/ungzip (the famous tar zxvf command) and run make perl. fwiw, I am in a Windoze workplace behind a firewall, but have never had a problem with ActiveState's PPM, which, of course, has nothing to do with MacOS X ;-). Maybe my workplace firewall is more porous or lenient (depending on the viewpoint). The only problem with download-tar -xvzf-make etc. is that it will not take care of any dependencies there might be... -Original Message- From: Rob Barris To: [EMAIL PROTECTED] Sent: 9/19/2002 7:28 PM Subject: need a hand I would like to install this CPAN module on my stock OSX 10.2 system: http://search.cpan.org/author/JPAF/Net-IMAP-Simple-0.93/Simple.pm so I can write a Perl script to poll an IMAP mail account for incoming messages periodically (and possibly send out some responses). How do I get started? Rob
Re: Why do the Docs say download binaries, don't compile ?
I have a bad habit of reading through the instructions. At http://www.perl.com/CPAN-local/src/README.html it states: * Binary distributions of perl (executable programs) for particular platforms. See the ports directory at the top level of CPAN. If your system does not have a C compiler, you should probably be looking at that directory; if it does have a C compiler, stick around here. As a special case, if you have a Macintosh, go straight to the ports directory anyway. On 09/18/2002 3:22, ellem [EMAIL PROTECTED] wrote: On Wednesday, September 18, 2002, at 03:14 AM, Celeste Suliin Burris wrote: I went to cpan.org intending to download and compile the latest stable.tar.gz to update to 5.8.0 on my Jaguar machine. Reading the documentation, it told me to download the binaries, not to compile it. As a Solaris SysAdmin, I've always compiled it. I compiled 5.6.1 on Mac OS X 10.1. I guess I'm set in my ways, but I like reasons, not just a do it! Does anyone know the why this advice exists? More importantly _where_ does this advice exist? Perhaps you went to cpan.org/ports/index.html#macosx and saw the links and went to the Server Logistics site and guessed that's what they were saying? Anyway... since you're compile friendly _some_ on this list who have dealt with this already might offer the advice that you NOT over write your existing perl 5.6.0 as your OS needs it, possibly intact, and that you install 5.8.0 somewhere else like /opt/ or /sw/ (via FINK). Other (like me) might suggest unless you need something very specific from 5.8.0 you just stick with what Apple gives you. Again, not sure where you read that advice. -- Lou Moran http://ellem.dyn.dhs.org:5281/resume/lmoran2002.html
Re: Locale and 5.8.0 (1 More Mac guy having Unix trouble)
As long as you only need US English access, you will be fine, since that's the default for the C setting. If for some reason you need non-english (especially a non-European Character set), you will need to read up on locale. This is not perl-specfic. Most unix text processing programs take advantage of this mechanism. On 09/18/2002 13:10, Tim Grant [EMAIL PROTECTED] wrote: Good Folks, After upgrading to Jaguar, I installed Perl 5.8.0 from Aaron Faby's binaries (www.serverlogistics.com). Things look OK except the new Perl complains about Locale: perl: warning: Setting locale failed. perl: warning: Please check that your locale setings: LC_ALL = (unset), LANG = en_US are supported and installed on your system. perl: warning: Falling back on the standard local (C). I'd like to just shut Locale down, as I don't use it. But if it's easier just to feed it the settings it wants to quiet it down, that's good too. More background: In man perllocale, it instructed me to check for locales using ls /usr/share/locale This showed a lot of them, including my favorite: en But attempts to use commands like this (adapted from man perllocale) failed: #!/opt/perl/bin/perl -w require v5.0008; use POSIX qw(locale_h); setlocale(LC_ALL,en); Any help is appreciated. Regards, Tim Grant