New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Upgrading PERL Forum Setup, MySQL, etc.


Post Reply New Thread Subscribe

 
Thread Tools
ssotti
Guest
 
Posts: n/a

I'm been setting up my Panther Client system to be a Forum BBS server (Requires SQL, Perl, PHP, Apache) and probably more. I got pretty far until I tried to upgrade to Perl 5.8 with the non-threaded binary installer. It archived my old system, but I'm not sure that the rest is installed correctly. I am also using Webmin, and and when I run the MySQL module it asks me to install a a couple of other modules. When I do so from CSPAN I get a compile error as follows.


Module Index



*Install Module*

Making and installing DBI ..

Untarring module file

Executing gunzip -c /tmp/.webmin/DBI-1.39.tar.gz | tar xvf - ..

DBI-1.39/
DBI-1.39/Driver_xst.h
DBI-1.39/t/
DBI-1.39/t/40profile.t
DBI-1.39/t/06attrs.t
DBI-1.39/t/08keeperr.t
DBI-1.39/t/42prof_data.t
DBI-1.39/t/01basics.t
DBI-1.39/t/60preparse.t
DBI-1.39/t/41prof_dump.t
DBI-1.39/t/04mods.t
DBI-1.39/t/05thrclone.t
DBI-1.39/t/02dbidrv.t
DBI-1.39/t/80proxy.t
DBI-1.39/t/07kids.t
DBI-1.39/t/20meta.t
DBI-1.39/t/10examp.t
DBI-1.39/t/30subclass.t
DBI-1.39/t/15array.t
DBI-1.39/t/03handle.t
DBI-1.39/DBI.xs
DBI-1.39/lib/
DBI-1.39/lib/DBD/
DBI-1.39/lib/DBD/NullP.pm
DBI-1.39/lib/DBD/Sponge.pm
DBI-1.39/lib/DBD/ExampleP.pm
DBI-1.39/lib/DBD/Proxy.pm
DBI-1.39/lib/DBI/
DBI-1.39/lib/DBI/Const/
DBI-1.39/lib/DBI/Const/GetInfo/
DBI-1.39/lib/DBI/Const/GetInfo/ANSI.pm
DBI-1.39/lib/DBI/Const/GetInfo/ODBC.pm
DBI-1.39/lib/DBI/Const/GetInfoType.pm
DBI-1.39/lib/DBI/Const/GetInfoReturn.pm
DBI-1.39/lib/DBI/FAQ.pm
DBI-1.39/lib/DBI/W32ODBC.pm
DBI-1.39/lib/DBI/DBD.pm
DBI-1.39/lib/DBI/ProfileData.pm
DBI-1.39/lib/DBI/ProfileDumper/
DBI-1.39/lib/DBI/ProfileDumper/Apache.pm
DBI-1.39/lib/DBI/ProfileDumper.pm
DBI-1.39/lib/DBI/DBD/
DBI-1.39/lib/DBI/DBD/Metadata.pm
DBI-1.39/lib/DBI/PurePerl.pm
DBI-1.39/lib/DBI/Profile.pm
DBI-1.39/lib/DBI/ProxyServer.pm
DBI-1.39/lib/Bundle/
DBI-1.39/lib/Bundle/DBI.pm
DBI-1.39/lib/Win32/
DBI-1.39/lib/Win32/DBIODBC.pm
DBI-1.39/MANIFEST
DBI-1.39/dbipport.h
DBI-1.39/Changes
DBI-1.39/dbi_sql.h
DBI-1.39/Perl.xs
DBI-1.39/Driver.xst
DBI-1.39/README
DBI-1.39/DBIXS.h
DBI-1.39/test.pl
DBI-1.39/dbd_xsh.h
DBI-1.39/META.yml
DBI-1.39/Makefile.PL
DBI-1.39/DBI.pm
DBI-1.39/dbiprof.PL
DBI-1.39/typemap
DBI-1.39/dbiproxy.PL
DBI-1.39/ToDo




Compiling module

Executing /usr/bin/perl Makefile.PL && make ..

*** Note:
The optional PlRPC-modules (RPC:lServer etc) are not installed.
If you want to use the DBD:roxy driver and DBI:roxyServer
modules, then you'll need to install the RPC:lServer, RPC:lClient,
Storable and Net:aemon modules. The CPAN Bundle:BI may help you.
You can install them any time after installing the DBI.
You do *not* need these modules for typical DBI usage.

Optional modules are available from any CPAN mirror, in particular
http://search.cpan.org/
http://www.perl.com/CPAN/modules/by-module
http://www.perl.org/CPAN/modules/by-module
ftp://ftp.funet.fi/pub/languages/per...ules/by-module

Creating extra DBI:urePerl test: t/zz_01basics_pp.t
Creating extra DBI:urePerl test: t/zz_02dbidrv_pp.t
Creating extra DBI:urePerl test: t/zz_03handle_pp.t
Creating extra DBI:urePerl test: t/zz_04mods_pp.t
Creating extra DBI:urePerl test: t/zz_05thrclone_pp.t
Creating extra DBI:urePerl test: t/zz_06attrs_pp.t
Creating extra DBI:urePerl test: t/zz_07kids_pp.t
Creating extra DBI:urePerl test: t/zz_08keeperr_pp.t
Creating extra DBI:urePerl test: t/zz_10examp_pp.t
Creating extra DBI:urePerl test: t/zz_15array_pp.t
Creating extra DBI:urePerl test: t/zz_20meta_pp.t
Creating extra DBI:urePerl test: t/zz_30subclass_pp.t
Creating extra DBI:urePerl test: t/zz_40profile_pp.t
Creating extra DBI:urePerl test: t/zz_41prof_dump_pp.t
Creating extra DBI:urePerl test: t/zz_42prof_data_pp.t
Creating extra DBI:urePerl test: t/zz_60preparse_pp.t
Creating extra DBI:urePerl test: t/zz_80proxy_pp.t
Checking if your kit is complete...
Looks good

Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD: drivers.

Writing Makefile for DBI
cp Changes blib/lib/DBI/Changes.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" blib/arch/auto/DBI/Driver.xst > Perl.xsi
/usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap -
typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc -c -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=
\"1.39\" -DXS_VERSION=\"1.39\" "-I/System/Library/Perl/darwin/CORE" -Wall -Wno-comment -DDBI_NO_TH
READS Perl.c
In file included from DBIXS.h:19,
from Perl.xs:1:
/System/Library/Perl/darwin/CORE/perl.h:371:30: sys/types.h: No such file or directory
/System/Library/Perl/darwin/CORE/perl.h:402:19: ctype.h: No such file or directory
/System/Library/Perl/darwin/CORE/perl.h:414:23: locale.h: No such file or directory
/System/Library/Perl/darwin/CORE/perl.h:431:20: setjmp.h: No such file or directory
/System/Library/Perl/darwin/CORE/perl.h:437:26: sys/param.h: No such file or directory
/usr/include/gcc/darwin/3.1/stdint.h:42: parse error before "int_least16_t"
/usr/include/gcc/darwin/3.1/stdint.h:43: parse error before "int_least32_t"
/System/Library/Perl/darwin/CORE/proto.h:248: warning: data definition has no type or storage class
/System/Library/Perl/darwin/CORE/proto.h:249: parse error before "Perl_do_tell"
/System/Library/Perl/darwin/CORE/proto.h:249: warning: type defaults to `int' in declaration of `Per
l_do_tell'
/System/Library/Perl/darwin/CORE/proto.h:249: warning: data definition has no type or storage class
/System/Library/Perl/darwin/CORE/proto.h:291: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:297: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:298: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:305: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:334: parse error before "testgid"
/System/Library/Perl/darwin/CORE/proto.h:338: warning: `struct tm' declared inside parameter list
/System/Library/Perl/darwin/CORE/proto.h:338: warning: its scope is only this definition or declarat
ion, which is probably not what you want
/System/Library/Perl/darwin/CORE/proto.h:343: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:362: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:363: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:364: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:365: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:380: parse error before "Perl_is_utf8_char"
/System/Library/Perl/darwin/CORE/proto.h:380: warning: type defaults to `int' in declaration of `Per
l_is_utf8_char'
/System/Library/Perl/darwin/CORE/proto.h:380: warning: data definition has no type or storage class
/System/Library/Perl/darwin/CORE/proto.h:381: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:412: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:413: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:414: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:416: parse error before "STRLEN"
/System/Library/Perl/darwin/CORE/proto.h:481: parse error before "size_t"
/System/Library/Perl/darwin/CORE/proto.h:491: warning: `struct tm' declared inside parameter list
/System/Library/Perl/darwin/CORE/proto.h:506: parse error before "Perl_my_fork"
/System/Library/Perl/darwin/CORE/proto.h:506: warning: type defaults to `int' in declaration of `Per
In file included from Perl.xs:1:
make: *** [Perl.o] Error 1




Installation of DBI failed. Check the output above and try installing manually.
You can also install the module from CPAN with the command perl -MCPAN -e shell




* *Return to database list


Actually does OK until it hits the header files in Perl for Darwin. Any suggestions, help appreciated. I truncated some of the messages.
QUOTE Thanks

Post Reply New Thread Subscribe


« Backup data to CD via the command line | weird XCode problem »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 04:43 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?