[Koha-devel] Koha 3.0 - XML::LibXSLT

Partha Mukhopadhyay psm_vu at india.com
Fri Jul 11 16:48:04 CEST 2008


> ----- Original Message -----
> From: "Joe Atzberger" <ohiocore at gmail.com>
> To: "Partha Mukhopadhyay" <psm_vu at india.com>
> Subject: Re: [Koha-devel] Koha 3.0 - XML::LibXSLT
> Date: Fri, 11 Jul 2008 10:40:51 -0400
> 
> 
> The package:
> Net::Z39.50::ZOOM
> should be:
> Net::Z3950::ZOOM
> 
> No dot in the middle.
> 
> For the others, you should find platform-specific binary packages and prefer
> those over the CPAN modules.
> 
> --joe
>
Yes Joe. I got success for others except two -

DBD::mysql; and
Image::Magick

As I think DBD::mysql is more important I'm attaching the result here. Please tell me what I'm missing -

partha

----------------------------------------------

cpan> force install DBD::mysql
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.007.tar.gz
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.007.tar.gz ok
DBD-mysql-4.007/
DBD-mysql-4.007/ChangeLog
DBD-mysql-4.007/constants.h
DBD-mysql-4.007/dbdimp.c
DBD-mysql-4.007/dbdimp.h
DBD-mysql-4.007/eg/
DBD-mysql-4.007/eg/._bug14979.pl
DBD-mysql-4.007/eg/bug14979.pl
DBD-mysql-4.007/eg/._bug21028.pl
DBD-mysql-4.007/eg/bug21028.pl
DBD-mysql-4.007/eg/bug30033.pl
DBD-mysql-4.007/eg/bug30033pg.pl
DBD-mysql-4.007/eg/decimal_test.pl
DBD-mysql-4.007/eg/issue21946.pl
DBD-mysql-4.007/eg/prepare_memory_usage.pl
DBD-mysql-4.007/eg/proc_example1.pl
DBD-mysql-4.007/eg/proc_example2.pl
DBD-mysql-4.007/eg/proc_example2a.pl
DBD-mysql-4.007/eg/proc_example2b.pl
DBD-mysql-4.007/eg/proc_example3.pl
DBD-mysql-4.007/eg/proc_example4.pl
DBD-mysql-4.007/INSTALL.html
DBD-mysql-4.007/lib/
DBD-mysql-4.007/lib/Bundle/
DBD-mysql-4.007/lib/Bundle/DBD/
DBD-mysql-4.007/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.007/lib/DBD/
DBD-mysql-4.007/lib/DBD/mysql/
DBD-mysql-4.007/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.007/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.007/lib/DBD/mysql.pm
DBD-mysql-4.007/Makefile.PL
DBD-mysql-4.007/Makefile.PL.embedded
DBD-mysql-4.007/MANIFEST
DBD-mysql-4.007/MANIFEST.SKIP
DBD-mysql-4.007/META.yml
DBD-mysql-4.007/myld
DBD-mysql-4.007/mysql.xs
DBD-mysql-4.007/README
DBD-mysql-4.007/t/
DBD-mysql-4.007/t/00base.t
DBD-mysql-4.007/t/10connect.t
DBD-mysql-4.007/t/20createdrop.t
DBD-mysql-4.007/t/25lockunlock.t
DBD-mysql-4.007/t/29warnings.t
DBD-mysql-4.007/t/30insertfetch.t
DBD-mysql-4.007/t/31insertid.t
DBD-mysql-4.007/t/32insert_error.t
DBD-mysql-4.007/t/35limit.t
DBD-mysql-4.007/t/35prepare.t
DBD-mysql-4.007/t/40bindparam.t
DBD-mysql-4.007/t/40bindparam2.t
DBD-mysql-4.007/t/40blobs.t
DBD-mysql-4.007/t/40catalog.t
DBD-mysql-4.007/t/40keyinfo.t
DBD-mysql-4.007/t/40listfields.t
DBD-mysql-4.007/t/40nulls.t
DBD-mysql-4.007/t/40numrows.t
DBD-mysql-4.007/t/40server_prepare.t
DBD-mysql-4.007/t/40server_prepare_error.t
DBD-mysql-4.007/t/40types.t
DBD-mysql-4.007/t/41bindparam.t
DBD-mysql-4.007/t/41blobs_prepare.t
DBD-mysql-4.007/t/42bindparam.t
DBD-mysql-4.007/t/50chopblanks.t
DBD-mysql-4.007/t/50commit.t
DBD-mysql-4.007/t/55utf8.t
DBD-mysql-4.007/t/60leaks.t
DBD-mysql-4.007/t/65types.t
DBD-mysql-4.007/t/70takeimp.t
DBD-mysql-4.007/t/._71impdata.t
DBD-mysql-4.007/t/71impdata.t
DBD-mysql-4.007/t/75supported_sql.t
DBD-mysql-4.007/t/76multi_statement.t
DBD-mysql-4.007/t/80procs.t
DBD-mysql-4.007/t/lib.pl
DBD-mysql-4.007/t/mysql.dbtest
DBD-mysql-4.007/t/mysql.mtest
DBD-mysql-4.007/TODO
Removing previously used /root/.cpan/build/DBD-mysql-4.007

  CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.007.tar.gz

I will use the following settings for compiling and testing:

  cflags        (mysql_config ) = -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
  embedded      (mysql_config ) = 
  libs          (mysql_config ) = -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
  mysql_config  (guessed      ) = mysql_config
  nocatchstderr (default      ) = 0
  nofoundrows   (default      ) = 0
  ssl           (guessed      ) = 1
  testdb        (User's choice) = test
  testhost      (default      ) = 
  testpassword  (User's choice) = test
  testsocket    (default      ) = 
  testuser      (User's choice) = test

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.53 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c  -I/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"4.007\" -DXS_VERSION=\"4.007\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   dbdimp.c
dbdimp.c: In function ‘alloc_param’:
dbdimp.c:112: warning: comparison is always false due to limited range of data type
dbdimp.c: In function ‘alloc_bind’:
dbdimp.c:130: warning: comparison is always false due to limited range of data type
dbdimp.c: In function ‘alloc_fbind’:
dbdimp.c:146: warning: comparison is always false due to limited range of data type
dbdimp.c: In function ‘alloc_fbuffer’:
dbdimp.c:161: warning: comparison is always false due to limited range of data type
dbdimp.c: In function ‘parse_params’:
dbdimp.c:464: warning: implicit declaration of function ‘parse_number’
dbdimp.c: In function ‘dbd_discon_all’:
dbdimp.c:1948: warning: unused variable ‘imp_xxh’
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap  mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 225
Warning: duplicate function definition 'rows' detected in mysql.xs, line 612
gcc -c  -I/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"4.007\" -DXS_VERSION=\"4.007\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   mysql.c
mysql.xs: In function ‘XS_DBD__mysql__db_do’:
mysql.xs:315: warning: comparison is always false due to limited range of data type
mysql.xs:316: warning: comparison is always false due to limited range of data type
mysql.xs:239: warning: unused variable ‘statement_ptr’
mysql.xs: In function ‘XS_DBD__mysql__st_more_results’:
mysql.xs:550: warning: implicit declaration of function ‘mysql_st_next_results’
mysql.xs:549: warning: unused variable ‘retval’
mysql.xs: In function ‘XS_DBD__mysql__GetInfo_dbd_mysql_get_info’:
mysql.xs:686: warning: implicit declaration of function ‘is_prefix’
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib64/mysql:/lib64:/usr/lib64" /usr/bin/perl myld gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic dbdimp.o mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so   \
           -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto   \
          
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/mysql/mysql.so] 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
----------------------------------------------------------------

=


-- 
_______________________________________________
Search for products and services at: 
http://search.mail.com
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel



More information about the Koha-devel mailing list