11874 Package eio php in FreeBSD ? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Porting New Software

Porting New Software Having trouble or general questions about porting software to FreeBSD? Ask here.

Reply
 
Thread Tools Display Modes
  #1  
Old July 18th, 2012, 12:27
local local is offline
Junior Member
 
Join Date: Nov 2008
Location: Os.C
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Package eio php in FreeBSD ?

Hello

Sory for my english but, I've question about install eio package for php in Freebsd.

Anybody use this under FreeBSD ?
Reply With Quote
  #2  
Old July 19th, 2012, 09:25
Ruslan Ruslan is offline
Junior Member
 
Join Date: Jul 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by local View Post
Hello

Sory for my english but, I've question about install eio package for php in Freebsd.

Anybody use this under FreeBSD ?
I didn't test eio under FreeBSD. What problems do you have?
I guess you can't install it because of the following part in package.xml:
Code:
<os>
	<name>UNIX</name>
</os>
Reply With Quote
  #3  
Old July 19th, 2012, 17:19
local local is offline
Junior Member
 
Join Date: Nov 2008
Location: Os.C
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
Exactly I've this bug :

Code:
/tmp/pear/temp/eio/php_eio.c:36:25: error: sys/eventfd.h: No such file or directory
/tmp/pear/temp/eio/php_eio.c:44:26: error: linux/falloc.h: No such file or directory
/tmp/pear/temp/eio/php_eio.c: In function 'zm_startup_eio':
/tmp/pear/temp/eio/php_eio.c:930: error: 'FALLOC_FL_KEEP_SIZE' undeclared (first use in this function)
/tmp/pear/temp/eio/php_eio.c:930: error: (Each undeclared identifier is reported only once
/tmp/pear/temp/eio/php_eio.c:930: error: for each function it appears in.)
*** Error code 1

Stop in /tmp/pear/temp/pear-build-root8Iw7tO/eio-1.1.0.
ERROR: `make' failed
And on http://pecl.php.net/package/eio is info " Currently this extension supports Linux platforms only. "

And my question is if someone has installed this extension for php in FreeBSD
Reply With Quote
  #4  
Old July 20th, 2012, 07:12
Ruslan Ruslan is offline
Junior Member
 
Join Date: Jul 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by local View Post
Hi
Exactly I've this bug :

Code:
/tmp/pear/temp/eio/php_eio.c:36:25: error: sys/eventfd.h: No such file or directory
/tmp/pear/temp/eio/php_eio.c:44:26: error: linux/falloc.h: No such file or directory
/tmp/pear/temp/eio/php_eio.c: In function 'zm_startup_eio':
/tmp/pear/temp/eio/php_eio.c:930: error: 'FALLOC_FL_KEEP_SIZE' undeclared (first use in this function)
/tmp/pear/temp/eio/php_eio.c:930: error: (Each undeclared identifier is reported only once
/tmp/pear/temp/eio/php_eio.c:930: error: for each function it appears in.)
*** Error code 1

Stop in /tmp/pear/temp/pear-build-root8Iw7tO/eio-1.1.0.
ERROR: `make' failed
And on http://pecl.php.net/package/eio is info " Currently this extension supports Linux platforms only. "
I see. I'll try to add FreeBSD support this or next weekend.
Reply With Quote
  #5  
Old July 22nd, 2012, 20:44
local local is offline
Junior Member
 
Join Date: Nov 2008
Location: Os.C
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Ruslan View Post
I see. I'll try to add FreeBSD support this or next weekend.
Thanks, very much.
I need this package for testing phpd ..
Reply With Quote
  #6  
Old July 28th, 2012, 20:23
Ruslan Ruslan is offline
Junior Member
 
Join Date: Jul 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by local View Post
Thanks, very much.
I need this package for testing phpd ..
Here is a development version which should work on FreeBSD 9.0 stable or older:
https://svn.php.net/repository/pecl/...nches/dev-pipe

However, the latest 9.1 pre-release is buggy. pthread_create() stalls. I've
reported it to the FreeBSD devs on #bsddev @ EFNet IRC. Currently have no time
to debug FreeBSD Hope they will fix it soon.

Good luck.
Reply With Quote
  #7  
Old July 28th, 2012, 20:31
Ruslan Ruslan is offline
Junior Member
 
Join Date: Jul 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To install it run the following
Code:
svn co https://svn.php.net/repository/pecl/eio/branches/dev-pipe
cd dev-pipe
sudo pecl install ./package.xml
Reply With Quote
  #8  
Old July 30th, 2012, 17:48
local local is offline
Junior Member
 
Join Date: Nov 2008
Location: Os.C
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Very thanks for work.
I tested under FreeBSD 7.4/8.2, and work properly.

I hope so this package will be in ports of bsd.

Best regards.
Reply With Quote
  #9  
Old July 30th, 2012, 20:37
Ruslan Ruslan is offline
Junior Member
 
Join Date: Jul 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by local View Post
Very thanks for work.
I tested under FreeBSD 7.4/8.2, and work properly.
You're welcome. I've just packaged eio 1.2.0 with some extra changes.

Quote:
Originally Posted by local View Post
I hope so this package will be in ports of bsd.
You can always pull fresh package with
Code:
# pecl install eio
or
Code:
# pecl upgrade
Good luck.
Reply With Quote
Reply

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
How to resume installation of a package, after fixing error from dependent package Vitamin Installation and Maintenance of FreeBSD Ports or Packages 4 January 26th, 2012 09:20
FreeBSD port/package updating Binarko Installation and Maintenance of FreeBSD Ports or Packages 9 March 21st, 2011 16:57
error in freebsd package gadz30795 Installation and Maintenance of FreeBSD Ports or Packages 3 May 20th, 2010 07:15
[Solved] How to create new package/ISO for FreeBSD alie General 1 July 16th, 2009 13:33
Gnome 2.24 package on FreeBSD 7 STABLE rterlaare Installation and Maintenance of FreeBSD Ports or Packages 2 February 26th, 2009 12:03


All times are GMT +1. The time now is 13:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0