OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: can't install DBI on panther

From: Adam Goldstein (whitewlfwhitewlf.net)
Date: Tue Jan 27 2004 - 00:02:21 CST


Fink works excellent for DBI, and even for mysql. You can also change
the mysql.info file to add compiler options, like G5 optimizations,
openssl, etc.

http://fink.sourceforge.net/
--
Adam Goldstein
White Wolf Networks
http://whitewlf.net

On Jan 26, 2004, at 8:50 PM, tait sanders wrote:

> i'm already logged in as SU so sudo won't help.
> thanks anyways.
>
> ta
> tait
>
>
> On 27/01/2004, at 12:12 PM, Douglas Sims wrote:
>
>> I installed DBI and dbd:mysql on 10.3.2 a few months ago and had all
>> sort of problems but I finally got it to work.
>>
>> I don't exactly remember what finally did it, though. I think it
>> might have been running the install with sudo, as in:
>> sudo perl -MCPAN ... etc.
>>
>> but I'm not sure. If you haven't tried that, perhaps it will work.
>>
>> I've been trying to install GD (gd-2.0.21) off and on for a few days
>> now and meeting with the same frustration. I build zlib, libpng,
>> jpeg-6b without any errors, but gd blows up when I make.
>>
>> Here is the specific part of the build which blows up:
>>
>> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include
>> -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -g -O2 -MT
>> gd_jpeg.lo -MD -MP -MF .deps/gd_jpeg.Tpo -c gd_jpeg.c -fno-common
>> -DPIC -o .libs/gd_jpeg.lo
>> gd_jpeg.c:41:21: jpeglib.h: No such file or directory
>> gd_jpeg.c:42:20: jerror.h: No such file or directory
>> gd_jpeg.c:54: error: parse error before "cinfo"
>> gd_jpeg.c: In function `fatal_jpeg_error':
>>
>> I don't find gd_jpeg.lo anywhere, but I'm not sure what this means.
>>
>> I find gd_jpeg.Plo in the .deps directory. I'm sorry, I don't know
>> what a .Plo or .lo file is. The .Plo file just contains "#dummy".
>> This is a bit off-topic from mysql or the original question, I'm
>> afraid.
>>
>>
>>
>>
>> tait sanders wrote:
>>
>>> i've run both 'perl -MCPAN -eshell' and 'make DBI' and both come
>>> back reporting heaps of errors like the following:
>>>
>>>
>>> "from Perl.xs:1:
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 380: 30: sys/types.h: No such file or directory
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 411: 19: ctype.h: No such file or directory
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 423: 23: locale.h: No such file or directory
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 440: 20: setjmp.h: No such file or directory
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 446: 26: sys/param.h: No such file or directory
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 451: 23: stdlib.h: No such file or directory
>>>
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 1749: error: parse error before "STRLEN"
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 1749: warning: type defaults to `int' in declaration of `STRLEN'
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 1749: warning: data definition has no type or storage class
>>> In file included from
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:
>>> 121,
>>> from
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 1805,
>>> from DBIXS.h:19,
>>> from Perl.xs:1:
>>> /usr/include/gcc/darwin/3.3/inttypes.h:33:72: sys/cdefs.h: No such
>>> file or directory
>>> /usr/include/gcc/darwin/3.3/inttypes.h:34:56: machine/ansi.h: No
>>> such file or directory
>>> In file included from /usr/include/gcc/darwin/3.3/inttypes.h:35,
>>> from
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:
>>> 121,
>>> from
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 1805,
>>> from DBIXS.h:19,
>>> from Perl.xs:1:
>>> /usr/include/gcc/darwin/3.3/stdint.h:24:27: machine/types.h: No such
>>> file or directory
>>> In file included from /usr/include/gcc/darwin/3.3/inttypes.h:35,
>>> from
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:
>>> 121,
>>> from
>>> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:
>>> 1805,
>>> from DBIXS.h:19,
>>> from Perl.xs:1:
>>> /usr/include/gcc/darwin/3.3/stdint.h:34: error: parse error before
>>> "uint8_t"
>>> /usr/include/gcc/darwin/3.3/stdint.h:35: error: parse error before
>>> "uint16_t"
>>> /usr/include/gcc/darwin/3.3/stdint.h:36: error: parse error before
>>> "uint32_t"
>>> /usr/include/gcc/darwin/3.3/stdint.h:37: error: parse error before
>>> "uint64_t"
>>> /usr/include/gcc/darwin/3.3/stdint.h:41: error: parse error before
>>> "int_least8_t"
>>> /usr/include/gcc/darwin/3.3/stdint.h:42: error: parse error before
>>> "int_least16_t"
>>> /usr/include/gcc/darwin/3.3/stdint.h:43: error: parse error before
>>> "int_least32_t""
>>>
>>> etc etc etc
>>>
>>>
>>> this just goes on and on...
>>>
>>> what am I to do to get DBI installed on my OS10.3??????
>>>
>>> please help
>>>
>>> ta
>>> tait
>>>
>>>
>>>
>>>
>>> On 22/01/2004, at 5:42 AM, Moritz von Schweinitz wrote:
>>>
>>>> i've never used MT, but this kinda sounds as if you dont have the
>>>> DBI installed:
>>>>
>>>> $ perl -MCPAN -eshell
>>>> install DBI
>>>>
>>>> cheers,
>>>> M.
>>>>
>>>> tait sanders wrote:
>>>>
>>>>> hi all,
>>>>> not sure if this is the appropriate place to post this -- so
>>>>> please point me in the right direction if not here...
>>>>> I have a G4 with os10.3.2 server, mysql v4.0.16, and MoveableType
>>>>> 2.6
>>>>> I'm trying to initialise the moveabletype system by running
>>>>> mt-load.cgi and am recieving the following error:
>>>>> "Unsupported driver MT::ObjectDriver::DBI::mysql: Can't locate
>>>>> DBI.pm in INC..."
>>>>> I've checked in my mt.cfg file and I have added:
>>>>> "ObjectDriver DBI::mysql
>>>>> Database /var/mysql/mtweblog
>>>>> DBUser labadmin"
>>>>> so I don't understand what's going on.
>>>>> please help
>>>>> ta
>>>>> tait
>>>>> tait sanders
>>>>> computer technician
>>>>> sir robert webster bldg
>>>>> trc
>>>>> unsw
>>>>
>>>>
>>>>
>>> tait sanders
>>> computer technician
>>> sir robert webster bldg
>>> trc
>>> unsw
>>>
>>>
>>
>>
>>
> tait sanders
> computer technician
> sir robert webster bldg
> trc
> unsw
>

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql