Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th December 2008, 17:58
Debianer Debianer is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Enabling MSSQL PHP5 Debian Tut - Compiling error

Tutorial: http://www.howtoforge.com/enabling-m...5-debian-lenny


I have error when dpkg-buildpackage (step 9) used:

Code:
make[1]: *** [ext/imap/php_imap.lo] Błąd 1 
make[1]: Opuszczenie katalogu `/usr/src/php5-5.2.6/apache2-build' 
make: *** [build-apache2-stamp] Błąd 2 
dpkg-buildpackage: niepowodzenie: debian/rules build zwrócił status błędu 2
translation: Błąd = error
opuszczenie katalogu = directory leave
last line: dpkg-buildpackage: failure: debian/rules binary gave error exit status 2

debian/rules is set as in tutorial:

Code:
..."--with-mysql=shared,/usr \
  --with-mssql=shared,/usr/local/freetds \
  --with-mysqli=shared,/usr/bin/mysql_config \"...
What I am doing bad?
My Debian is 4.0 Etch
Reply With Quote
Sponsored Links
  #2  
Old 30th December 2008, 08:51
Debianer Debianer is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Even code:
Code:
apt-get source php5
dpkg-buildpackage
Without editing debian/rules etc. Dont work.
Same error that debian/rules bla bla bla.
What is bad?
Reply With Quote
  #3  
Old 30th December 2008, 13:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by Debianer View Post
Code:
make[1]: *** [ext/imap/php_imap.lo] Błąd 1
What's displayed directly before this error?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 30th December 2008, 14:19
Debianer Debianer is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
 in this function)
/usr/src/php5-5.2.6/ext/imap/php_imap.c:3913: warning: implicit declaration of f                                                                             unction ‘rfc822_output_address_list’
/usr/src/php5-5.2.6/ext/imap/php_imap.c: In function ‘mm_notify’:
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4410: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4410: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4419: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4419: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c: In function ‘mm_list’:
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4436: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4436: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4445: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4445: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4457: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4457: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4464: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4464: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c: In function ‘mm_lsub’:
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4483: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4483: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4492: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4492: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4502: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4502: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4509: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4509: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c: In function ‘mm_log’:
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4547: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4547: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4557: warning: pointer targets in assign                                                                             ment differ in signedness
/usr/src/php5-5.2.6/ext/imap/php_imap.c:4557: warning: pointer targets in passin                                                                             g argument 1 of ‘strlen’ differ in signedness
make[1]: *** [ext/imap/php_imap.lo] Błąd 1
make[1]: Opuszczenie katalogu `/usr/src/php5-5.2.6/apache2-build'
make: *** [build-apache2-stamp] Błąd 2
dpkg-buildpackage: niepowodzenie: debian/rules build zwrócił status błędu 2
System:/usr/src/php5-5.2.6#
Reply With Quote
  #5  
Old 30th December 2008, 20:05
Debianer Debianer is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thats the full error with lines behind .
Reply With Quote
  #6  
Old 31st December 2008, 12:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Hm, not sure what's happening, but maybe you can build the package as shown here: http://www.howtoforge.com/how-to-reb...ed-for-headers (just an example that should give you the idea)
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 2nd January 2009, 01:36
Debianer Debianer is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

With using method from this tutorial there is exactly same error as in original method.
Reply With Quote
  #8  
Old 2nd January 2009, 09:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's in /etc/apt/sources.list?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 2nd January 2009, 12:07
Debianer Debianer is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've tried sources.list from tutorial, but I did not work, so friend from another forum advised me to use this:
Code:
deb http://debian.ludost.net/debian/ testing main contrib non-free 
deb-src http://debian.ludost.net/debian/ testing main contrib non-free 
deb http://ftp.pl.debian.org/debian/ lenny main non-free contrib 
deb-src http://ftp.pl.debian.org/debian/ lenny main non-free contrib 
deb http://security.debian.org/ lenny/updates main contrib non-free 
deb-src http://security.debian.org/ lenny/updates main contrib non-free
It works for him, for me not...
Reply With Quote
  #10  
Old 2nd January 2009, 15:58
Debianer Debianer is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I've made php5 package from source on another machine with installed Lenny (netinst) on it.
I've copied package on my server, then installed package with (or by?):
Code:
dkpg -i php5-mssql_5.2.5-3_i386.deb
Next I've tried to install
Code:
apt-get install php5-sybase
with no sucess:
Code:
dpkg: błąd przetwarzania /var/cache/apt/archives/php5-sybase_5.2.6-5_i386.deb (--unpack): 
 próba nadpisania "/usr/lib/php5/20060613+lfs/mssql.so", który istnieje także w pakiecie php5-mssql 
Wystąpiły błędy podczas przetwarzania: 
 /var/cache/apt/archives/php5-sybase_5.2.6-5_i386.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1)
In english this error mean that "/usr/lib/php5/20060613+lfs/mssql.so" already exist in php5-mssql and he dont want to overwrite.

Also my another question is what should I change in:
/etc/freetds/freetds.conf
What DNS Entries?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
ERROR: Could not make ClamAV chua_jose Installation/Configuration 1 3rd January 2008 16:47
Apache trouble wont restart Domain coroption main3 Installation/Configuration 1 16th September 2006 12:09
eaccelerator installation - can't find php5-config tom Programming/Scripts 9 15th May 2006 15:36
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 06:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.