phpBeans

*** No rule to make target

Forum / Installation / *** No rule to make target

Reply         Subscribe         Start new thread         Syndicated Feed (RSS)        

Displaying 1 to 4 of 4 Previous   1   Next
Author Message
ddot

Posts: 3
*** No rule to make target - Posted: February 18, 2005 - 12:41 PM Quote and reply
I don't know what this means, trying to compile the server. I guess I'm missing something, but where would I get it?

configure: error: Cannot find libz
make: *** No rule to make target `/Volumes/DATA/Development/phpbeans/src/php-4.3.8/ext/ctype/ctype.c', needed by `ext/ctype/ctype.lo'. Stop.
make: *** No rule to make target `/Volumes/DATA/Development/phpbeans/src/php-4.3.8/ext/ctype/ctype.c', needed by `ext/ctype/ctype.lo'. Stop.


Back to top
ddot

Posts: 3
Re: *** No rule to make target - Posted: February 18, 2005 - 12:46 PM Quote and reply
Must be a problem with zlib. I commented out zlib support, and it seemed to work ok.(?)

Back to top
ddot

Posts: 3
Re: *** No rule to make target - Posted: February 18, 2005 - 12:54 PM Quote and reply
Well, now I start the server, and get this warning about sqllite:
PHP Warning: Unknown(): Unable to load dynamic library '/home/ddotson/public_html/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' - /xxxx/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0

and connecting to the server returns:
Warning: fsockopen(): unable to connect to localhost:3843 in /xxxx/phpbeans-server-1.0.0/saf/lib/Database/Bean.php on line 163

Isn't the reason the Server is packaged this way is so that the modules you need get compiled into the Server PHP?

I don't see any documentation on what causes these errors, so I guess my dreams are dashed!



Back to top
lux

Posts: 17
Re: *** No rule to make target - Posted: February 27, 2005 - 11:31 PM Quote and reply
ddot said:
Well, now I start the server, and get this warning about sqllite:
PHP Warning: Unknown(): Unable to load dynamic library '/home/ddotson/public_html/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' - /xxxx/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0


This means that the SQLite extension isn't installed, but PHP is attempting to load it as per the conf/php.ini file. Try this:

1. Comment out the 'extension=sqlite.so' from the conf/php.ini file.

2. Run this command from inside the phpBeans folder:

./php/bin/pear install sqlite

Make sure that passes, then uncomment the line commented out in step 1. This command is included in the src/compile.sh install script, but it may have been missed or had errors. One reason for errors may be that the 'extension=sqlite.so' line was in the conf/php.ini file before the command to install SQLite was executed.

ddot said:
and connecting to the server returns:
Warning: fsockopen(): unable to connect to localhost:3843 in /xxxx/phpbeans-server-1.0.0/saf/lib/Database/Bean.php on line 163

Isn't the reason the Server is packaged this way is so that the modules you need get compiled into the Server PHP?

I don't see any documentation on what causes these errors, so I guess my dreams are dashed!


The fsockopen() error in the client is saying that the server isn't running. Try correcting the first error, then start the server, and you should be able to connect.

Hope this helps.

Cheers,

Lux

Back to top

Return to Top


  Powered by Sitellite Enterprise PHP CMS