Fehler bei DBD-install

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

Fehler bei DBD-install

Postby paramedic » 06. August 2007 21:09

Hallo,

ich versuche, für Perl DBI zu installieren, mit install DBD::mysql.

Es treten ja bei der Ausgabe so extrem viele Fehler auf, fehlt da noch etwas anderes ?
Ich habe env PATH=/opt/lampp/bin:$PATH /opt/lampp/bin/perl -MCPAN -e shell
aufgerufen und dann eben DBD::mysql ...

Vielen Dank für Eure Hilfe,
Swen


Dies ist der letzte Teil der Ausgabe:

dbdimp.c:3529: error: request for member âresultâ in something not a structure or union
dbdimp.c:3530: error: dereferencing pointer to incomplete type
dbdimp.c:3530: error: request for member âresultâ in something not a structure or union
dbdimp.c:3530: warning: assignment makes pointer from integer without a cast
dbdimp.c:3532: error: dereferencing pointer to incomplete type
dbdimp.c:3532: error: request for member âcomâ in something not a structure or union
dbdimp.c:3532: error: request for member âfields_svavâ in something not a structure or union
dbdimp.c:3532: warning: comparison of distinct pointer types lacks a cast
dbdimp.c:3544: error: dereferencing pointer to incomplete type
dbdimp.c:3544: error: request for member âcomâ in something not a structure or union
dbdimp.c:3544: error: request for member ânum_fieldsâ in something not a structure or union
dbdimp.c:3570: error: incompatible types in initialization
dbdimp.c: In function âmysql_st_finishâ:
dbdimp.c:3672: error: dereferencing pointer to incomplete type
dbdimp.c:3672: error: request for member âresultâ in something not a structure or union
dbdimp.c:3680: error: dereferencing pointer to incomplete type
dbdimp.c:3680: error: request for member âcomâ in something not a structure or union
dbdimp.c:3680: error: request for member âstdâ in something not a structure or union
dbdimp.c:3680: error: request for member âparent_comâ in something not a structure or union
dbdimp.c:3680: error: dereferencing pointer to incomplete type
dbdimp.c:3680: error: request for member âcomâ in something not a structure or union
dbdimp.c:3680: error: request for member âstdâ in something not a structure or union
dbdimp.c:3680: error: request for member âflagsâ in something not a structure or union
dbdimp.c:3680: error: invalid operands to binary &
dbdimp.c:3680: error: dereferencing pointer to incomplete type
dbdimp.c:3680: error: request for member âcomâ in something not a structure or union
dbdimp.c:3680: error: request for member âstdâ in something not a structure or union
dbdimp.c:3680: error: request for member âflagsâ in something not a structure or union
dbdimp.c: In function âmysql_st_destroyâ:
dbdimp.c:3757: error: dereferencing pointer to incomplete type
dbdimp.c:3757: error: request for member âparamsâ in something not a structure or union
dbdimp.c:3759: error: dereferencing pointer to incomplete type
dbdimp.c:3759: error: request for member âparamsâ in something not a structure or union
dbdimp.c:3759: error: dereferencing pointer to incomplete type
dbdimp.c:3759: error: request for member âcomâ in something not a structure or union
dbdimp.c:3759: error: request for member ânum_paramsâ in something not a structure or union
dbdimp.c:3759: warning: passing argument 1 of âfree_paramâ from incompatible pointer type
dbdimp.c:3759: warning: passing argument 2 of âfree_paramâ makes integer from pointer without a cast
dbdimp.c:3760: error: dereferencing pointer to incomplete type
dbdimp.c:3760: error: request for member âparamsâ in something not a structure or union
dbdimp.c:3766: error: dereferencing pointer to incomplete type
dbdimp.c:3766: error: request for member âav_attrâ in something not a structure or union
dbdimp.c:3766: error: used struct type value where scalar is required
dbdimp.c:3767: error: dereferencing pointer to incomplete type
dbdimp.c:3767: error: request for member âav_attrâ in something not a structure or union
dbdimp.c:3767: error: cannot convert to a pointer type
dbdimp.c:3768: error: dereferencing pointer to incomplete type
dbdimp.c:3768: error: request for member âav_attrâ in something not a structure or union
dbdimp.c:3768: error: assignment of read-only location
dbdimp.c:3768: error: incompatible types in assignment
dbdimp.c:3771: error: dereferencing pointer to incomplete type
dbdimp.c:3771: error: request for member âcomâ in something not a structure or union
dbdimp.c:3771: error: request for member âstdâ in something not a structure or union
dbdimp.c:3771: error: request for member âflagsâ in something not a structure or union
dbdimp.c: In function âmysql_st_STORE_attribâ:
dbdimp.c:3812: error: dereferencing pointer to incomplete type
dbdimp.c:3812: error: request for member âuse_mysql_use_resultâ in something not a structure or union
dbdimp.c: At top level:
dbdimp.c:3860: error: syntax error before âMYSQL_RESâ
dbdimp.c: In function âmysql_st_FETCH_internalâ:
dbdimp.c:3864: error: âsthâ undeclared (first use in this function)
dbdimp.c:3864: warning: passing argument 1 of âdbis->getcomâ from incompatible pointer type
dbdimp.c:3866: error: âMYSQL_FIELDâ undeclared (first use in this function)
dbdimp.c:3866: error: âcurFieldâ undeclared (first use in this function)
dbdimp.c:3866: error: invalid operands to binary *
dbdimp.c:3869: error: âwhatâ undeclared (first use in this function)
dbdimp.c:3869: warning: comparison between pointer and integer
dbdimp.c:3870: warning: passing argument 1 of âmysql_dr_errorâ from incompatible pointer type
dbdimp.c:3873: error: âcacheitâ undeclared (first use in this function)
dbdimp.c:3873: error: dereferencing pointer to incomplete type
dbdimp.c:3873: error: request for member âav_attrâ in something not a structure or union
dbdimp.c:3873: error: array subscript is not an integer
dbdimp.c:3874: error: dereferencing pointer to incomplete type
dbdimp.c:3874: error: request for member âav_attrâ in something not a structure or union
dbdimp.c:3874: error: array subscript is not an integer
dbdimp.c:3877: error: âresâ undeclared (first use in this function)
dbdimp.c:3879: warning: passing argument 1 of âmysql_dr_errorâ from incompatible pointer type
dbdimp.c:3891: error: âstruct sql_type_info_sâ has no member named ânameâ
dbdimp.c:3891: error: âstruct sql_type_info_sâ has no member named ânameâ
dbdimp.c:3891: warning: passing argument 1 of âstrlenâ from incompatible pointer type
dbdimp.c:3891: warning: passing argument 1 of âPerl_newSVpvâ from incompatible pointer type
dbdimp.c:3895: error: âstruct sql_type_info_sâ has no member named âtableâ
dbdimp.c:3895: error: âstruct sql_type_info_sâ has no member named âtableâ
dbdimp.c:3895: warning: passing argument 1 of âstrlenâ from incompatible pointer type
dbdimp.c:3895: warning: passing argument 1 of âPerl_newSVpvâ from incompatible pointer type
dbdimp.c:3899: error: âstruct sql_type_info_sâ has no member named âtypeâ
dbdimp.c:3899: warning: passing argument 1 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:3903: error: âstruct sql_type_info_sâ has no member named âtypeâ
dbdimp.c:3903: warning: passing argument 1 of ânative2sqlâ makes integer from pointer without a cast
dbdimp.c:3906: error: âstruct sql_type_info_sâ has no member named âflagsâ
dbdimp.c:3910: error: âstruct sql_type_info_sâ has no member named âflagsâ
dbdimp.c:3914: error: âstruct sql_type_info_sâ has no member named âflagsâ
dbdimp.c:3918: error: âstruct sql_type_info_sâ has no member named âlengthâ
dbdimp.c:3918: warning: passing argument 1 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:3922: error: âstruct sql_type_info_sâ has no member named âtypeâ
dbdimp.c:3922: warning: passing argument 1 of ânative2sqlâ makes integer from pointer without a cast
dbdimp.c:3926: error: âstruct sql_type_info_sâ has no member named âtypeâ
dbdimp.c:3926: warning: passing argument 1 of ânative2sqlâ makes integer from pointer without a cast
dbdimp.c:3930: error: âstruct sql_type_info_sâ has no member named âmax_lengthâ
dbdimp.c:3930: warning: passing argument 1 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:3942: error: âstruct sql_type_info_sâ has no member named âflagsâ
dbdimp.c:3942: error: âPRI_KEY_FLAGâ undeclared (first use in this function)
dbdimp.c:3942: error: âUNIQUE_KEY_FLAGâ undeclared (first use in this function)
dbdimp.c:3942: error: invalid operands to binary |
dbdimp.c:3942: error: âMULTIPLE_KEY_FLAGâ undeclared (first use in this function)
dbdimp.c:3942: error: invalid operands to binary |
dbdimp.c:3942: error: invalid operands to binary &
dbdimp.c:3946: error: âstruct sql_type_info_sâ has no member named âflagsâ
dbdimp.c:3950: error: âstruct sql_type_info_sâ has no member named âdecimalsâ
dbdimp.c:3950: warning: passing argument 1 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:3954: error: âstruct sql_type_info_sâ has no member named âlengthâ
dbdimp.c:3954: error: âstruct sql_type_info_sâ has no member named âmax_lengthâ
dbdimp.c:3955: error: âstruct sql_type_info_sâ has no member named âlengthâ
dbdimp.c:3955: error: âstruct sql_type_info_sâ has no member named âmax_lengthâ
dbdimp.c:3955: warning: passing argument 1 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:3969: error: dereferencing pointer to incomplete type
dbdimp.c:3969: error: request for member âav_attrâ in something not a structure or union
dbdimp.c:3969: error: array subscript is not an integer
dbdimp.c: In function âmysql_st_FETCH_attribâ:
dbdimp.c:4020: error: dereferencing pointer to incomplete type
dbdimp.c:4020: error: request for member âresultâ in something not a structure or union
dbdimp.c:4022: error: dereferencing pointer to incomplete type
dbdimp.c:4022: error: request for member âresultâ in something not a structure or union
dbdimp.c:4026: error: dereferencing pointer to incomplete type
dbdimp.c:4026: error: request for member âresultâ in something not a structure or union
dbdimp.c:4030: error: dereferencing pointer to incomplete type
dbdimp.c:4030: error: request for member âcomâ in something not a structure or union
dbdimp.c:4030: error: request for member ânum_paramsâ in something not a structure or union
dbdimp.c:4035: error: dereferencing pointer to incomplete type
dbdimp.c:4035: error: request for member âcomâ in something not a structure or union
dbdimp.c:4035: error: request for member ânum_paramsâ in something not a structure or union
dbdimp.c:4035: warning: comparison between pointer and integer
dbdimp.c:4039: error: dereferencing pointer to incomplete type
dbdimp.c:4039: error: request for member âparamsâ in something not a structure or union
dbdimp.c:4039: error: âstruct sql_type_info_sâ has no member named âvalueâ
dbdimp.c:4039: warning: passing argument 1 of âPerl_newSVsvâ from incompatible pointer type
dbdimp.c:4047: error: dereferencing pointer to incomplete type
dbdimp.c:4047: error: request for member âresultâ in something not a structure or union
dbdimp.c:4051: error: dereferencing pointer to incomplete type
dbdimp.c:4051: error: request for member âresultâ in something not a structure or union
dbdimp.c:4057: error: dereferencing pointer to incomplete type
dbdimp.c:4057: error: request for member âresultâ in something not a structure or union
dbdimp.c:4061: error: dereferencing pointer to incomplete type
dbdimp.c:4061: error: request for member âresultâ in something not a structure or union
dbdimp.c:4065: error: dereferencing pointer to incomplete type
dbdimp.c:4065: error: request for member âresultâ in something not a structure or union
dbdimp.c:4067: error: dereferencing pointer to incomplete type
dbdimp.c:4067: error: request for member âresultâ in something not a structure or union
dbdimp.c:4069: error: dereferencing pointer to incomplete type
dbdimp.c:4069: error: request for member âresultâ in something not a structure or union
dbdimp.c:4071: error: dereferencing pointer to incomplete type
dbdimp.c:4071: error: request for member âresultâ in something not a structure or union
dbdimp.c:4071: warning: passing argument 1 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:4075: error: dereferencing pointer to incomplete type
dbdimp.c:4075: error: request for member âresultâ in something not a structure or union
dbdimp.c:4082: error: dereferencing pointer to incomplete type
dbdimp.c:4082: error: request for member âinsertidâ in something not a structure or union
dbdimp.c:4084: error: dereferencing pointer to incomplete type
dbdimp.c:4084: error: request for member âinsertidâ in something not a structure or union
dbdimp.c:4089: error: dereferencing pointer to incomplete type
dbdimp.c:4089: error: request for member âresultâ in something not a structure or union
dbdimp.c:4093: error: dereferencing pointer to incomplete type
dbdimp.c:4093: error: request for member âresultâ in something not a structure or union
dbdimp.c:4095: error: dereferencing pointer to incomplete type
dbdimp.c:4095: error: request for member âresultâ in something not a structure or union
dbdimp.c:4097: error: dereferencing pointer to incomplete type
dbdimp.c:4097: error: request for member âuse_mysql_use_resultâ in something not a structure or union
dbdimp.c:4101: error: dereferencing pointer to incomplete type
dbdimp.c:4101: error: request for member âwarning_countâ in something not a structure or union
dbdimp.c:4101: warning: passing argument 1 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:4113: error: dereferencing pointer to incomplete type
dbdimp.c:4113: error: request for member âresultâ in something not a structure or union
dbdimp.c: In function âmysql_bind_phâ:
dbdimp.c:4193: error: dereferencing pointer to incomplete type
dbdimp.c:4193: error: request for member âcomâ in something not a structure or union
dbdimp.c:4193: error: request for member ânum_paramsâ in something not a structure or union
dbdimp.c:4193: warning: comparison between pointer and integer
dbdimp.c:4227: error: dereferencing pointer to incomplete type
dbdimp.c:4227: error: request for member âparamsâ in something not a structure or union
dbdimp.c:4227: warning: passing argument 1 of âbind_paramâ from incompatible pointer type
dbdimp.c: In function âmysql_db_reconnectâ:
dbdimp.c:4347: error: âMYSQLâ undeclared (first use in this function)
dbdimp.c:4347: error: syntax error before âsave_socketâ
dbdimp.c:4357: error: dereferencing pointer to incomplete type
dbdimp.c:4357: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4357: error: âCR_SERVER_GONE_ERRORâ undeclared (first use in this function)
dbdimp.c:4357: warning: comparison between pointer and integer
dbdimp.c:4361: error: dereferencing pointer to incomplete type
dbdimp.c:4361: error: request for member âcomâ in something not a structure or union
dbdimp.c:4361: error: request for member âstdâ in something not a structure or union
dbdimp.c:4361: error: request for member âflagsâ in something not a structure or union
dbdimp.c:4361: error: invalid operands to binary &
dbdimp.c:4361: error: dereferencing pointer to incomplete type
dbdimp.c:4361: error: request for member âauto_reconnectâ in something not a structure or union
dbdimp.c:4375: error: âsave_socketâ undeclared (first use in this function)
dbdimp.c:4375: error: dereferencing pointer to incomplete type
dbdimp.c:4375: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4376: error: dereferencing pointer to incomplete type
dbdimp.c:4376: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4376: warning: passing argument 3 of âmemcpyâ makes integer from pointer without a cast
dbdimp.c:4377: error: dereferencing pointer to incomplete type
dbdimp.c:4377: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4377: error: dereferencing pointer to incomplete type
dbdimp.c:4377: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4377: warning: passing argument 3 of âmemsetâ makes integer from pointer without a cast
dbdimp.c:4381: error: dereferencing pointer to incomplete type
dbdimp.c:4381: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4381: error: dereferencing pointer to incomplete type
dbdimp.c:4381: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4382: warning: passing argument 3 of âmysql_dr_errorâ makes pointer from integer without a cast
dbdimp.c:4383: error: dereferencing pointer to incomplete type
dbdimp.c:4383: error: request for member âmysqlâ in something not a structure or union
dbdimp.c:4383: warning: passing argument 3 of âmemcpyâ makes integer from pointer without a cast
dbdimp.c:4384: error: dereferencing pointer to incomplete type
dbdimp.c:4384: error: request for member âstatsâ in something not a structure or union
dbdimp.c:4384: error: request for member âauto_reconnects_failedâ in something not a structure or union
dbdimp.c:4384: error: wrong type argument to increment
dbdimp.c:4387: error: dereferencing pointer to incomplete type
dbdimp.c:4387: error: request for member âstatsâ in something not a structure or union
dbdimp.c:4387: error: request for member âauto_reconnects_okâ in something not a structure or union
dbdimp.c:4387: error: wrong type argument to increment
dbdimp.c: In function âmysql_db_quoteâ:
dbdimp.c:4544: error: dereferencing pointer to incomplete type
dbdimp.c:4544: error: request for member âmysqlâ in something not a structure or union
dbdimp.c: In function âmysql_db_last_insert_idâ:
dbdimp.c:4559: error: dereferencing pointer to incomplete type
dbdimp.c:4559: error: request for member âmysqlâ in something not a structure or union
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
CAPTTOFU/DBD-mysql-4.005.tar.gz : make NO
Use of chdir('') or chdir(undef) as chdir() is deprecated at /opt/lampp/lib/perl5/5.8.7/CPAN.pm line 251.
paramedic
 
Posts: 13
Joined: 25. October 2006 11:37

Postby scyathome » 09. August 2007 22:26

Hi,

hier das selbe Problem.

Jemand eine Idee ?

Grüsse
scyathome
 
Posts: 2
Joined: 03. December 2005 11:17

Postby melz » 31. January 2008 13:07

Hallo,

hier dasselbe Problem. Habt Ihr schon eine Lösung?
melz
 
Posts: 25
Joined: 21. November 2007 13:58

Postby routed » 04. February 2008 14:15

Schon jemand eine Lösung gefunden?

Ich hänge nämlich an der selben Stelle durch (XAMPP 1.4.10a)
() ()
(O o)
(> <)
(_) (_)
rou ted
routed
 
Posts: 2
Joined: 13. August 2005 10:07
Location: Lemförde

Re: Fehler bei DBD-install

Postby routed » 04. February 2008 14:48

() ()
(O o)
(> <)
(_) (_)
rou ted
routed
 
Posts: 2
Joined: 13. August 2005 10:07
Location: Lemförde

Postby melz » 04. February 2008 15:35

Hallo,

da steht: Developerpaket zusätzlich installiert, /Applications/xampp/xamppfiles/bin in den Pfad aufgenommen und 'schon' hat es funktioniert.

In welchen Pfad, welche Datei? Gibt es zum Entwicklerpaket irgendeine Anleitung?

Danke.
melz
 
Posts: 25
Joined: 21. November 2007 13:58


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 31 guests