[PHP] Cannot find bison and Flex even when those are installed

2005-11-11 Thread Jurgen
Dear group

I tried to install php 4.3.11 on Linux Suse 6.4. I've installed bison and
flex in /usr/local/

When I run ./configure in my php-dir he tells me he can't find bison and
flex.

How can I solve this matter

Jurgen Campforts
Lichtaartsebaan 58
2460 Kasterlee
Tel: 0496/60.25.75
http://www.wandelmee.be

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Cannot find bison and Flex even when those are installed

2005-11-11 Thread Jurgen
Everything is installed, I already have a running PHP on my box but without
gd-support, now i wanted to add gd-support, so i builded gd with the proper
extensions (jpeg, png, etc), then i made make clean in the php-folder where
the source is, then the configure and it fails on bison and flex, strange
because it is installed

regards

Jurgen Campforts
Lichtaartsebaan 58
2460 Kasterlee
Tel: 0496/60.25.75
http://www.wandelmee.be
<http://www.scnoorderwijk.be>


In 2010 naar Compostella, of naar Rome? In ieder geval, ik ga naar het
zuiden.




-Oorspronkelijk bericht-
Van: Marco Kaiser [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 11 november 2005 17:51
Aan: Jurgen
Onderwerp: Re: [PHP] Cannot find bison and Flex even when those are
installed


Hi,

> When I run ./configure in my php-dir he tells me he can't find bison and
> flex.

try to install also the dev packages and the automake and buildconf tools.

--
Marco Kaiser

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Cannot find bison and Flex even when those are installed

2005-11-11 Thread Jurgen
Hi again,

Nothing of your ideas helped out.

mayby i'm not sure if this was right, but i performed followed command:
PATH=/usr/local/bin:$PATH

I installed bison, flex and all others in /usr/local/ so I put the bin-dir
in my path-var. Fired the whole configure-bunch again and it was up and
running.

Jurgen Campforts
Lichtaartsebaan 58
2460 Kasterlee
Tel: 0496/60.25.75
http://www.wandelmee.be
<http://www.scnoorderwijk.be>


In 2010 naar Compostella, of naar Rome? In ieder geval, ik ga naar het
zuiden.




-Oorspronkelijk bericht-
Van: Dan McCullough [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 11 november 2005 18:04
Aan: Jurgen
Onderwerp: Re: [PHP] Cannot find bison and Flex even when those are
installed


Yes but if you haven't installed the dev packages then the libraries
that PHP needs isn't available.  If you have installed the dev then
you should try the bison flag with only the = sign and no path.

On 11/11/05, Jurgen <[EMAIL PROTECTED]> wrote:
> Everything is installed, I already have a running PHP on my box but
without
> gd-support, now i wanted to add gd-support, so i builded gd with the
proper
> extensions (jpeg, png, etc), then i made make clean in the php-folder
where
> the source is, then the configure and it fails on bison and flex, strange
> because it is installed
>
> regards
>
> Jurgen Campforts
> Lichtaartsebaan 58
> 2460 Kasterlee
> Tel: 0496/60.25.75
> http://www.wandelmee.be
> <http://www.scnoorderwijk.be>
>

> 
> In 2010 naar Compostella, of naar Rome? In ieder geval, ik ga naar het
> zuiden.
>

> 
>
>
> -Oorspronkelijk bericht-
> Van: Marco Kaiser [mailto:[EMAIL PROTECTED]
> Verzonden: vrijdag 11 november 2005 17:51
> Aan: Jurgen
> Onderwerp: Re: [PHP] Cannot find bison and Flex even when those are
> installed
>
>
> Hi,
>
> > When I run ./configure in my php-dir he tells me he can't find bison and
> > flex.
>
> try to install also the dev packages and the automake and buildconf tools.
>
> --
> Marco Kaiser
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] [pgsql] connectivity problem

2004-07-18 Thread Jurgen Stroo
Well, then something went wrong with your postgres installation.
This file should be somewhere in /etc (/etc/postgresql/pg_hba.conf for
example). If this is your own system try to search for it, like this
for example:

find /etc -name pg_hba.conf

If it is missing, you can create it yourself, but personally I think you
should check WHY you don't have it, may be something more is missing.

But to connect to a postgres database I think you need to read some more
about postgres at least, so you know how it works and you can decide
which way you want to connect to postgres (if you want to use the safe ident 
authentication, for example)

I can paste some default entries into this mail for you (version 7.4.3):

# TYPE  DATABASEUSERIP-ADDRESSIP-MASK   METHOD
# Database administrative login by UNIX sockets
local   all postgresident sameuser
#
# All other connections by UNIX sockets
local   all all ident sameuser
#
# All IPv4 connections from localhost
hostall all 127.0.0.1 255.255.255.255   ident sameuser
#
# All IPv6 localhost connections
hostall all ::1
::::::
:ident sameuser
hostall all :::127.0.0.1/128ident
sameus
er
#
# reject all other connection attempts
hostall all 0.0.0.0   0.0.0.0   reject


You can have a free read about postgresql at commandprompt.com, there is
a O'Reilly book to be found there, freely available through the Public
license.

Good luck!
Ugh! Blurg.

---
"When a man sits with a pretty girl for an hour, it seems like a minute.
But let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." [A. Einstein, 1938]

http://jurgenstroo.com

This one time, at band camp, Ciprian Constantinescu said:

> I have the following code
>
> [CODE]
>  $dbconn3 = pg_connect("host=somehost port=5432 dbname=adatabase
> user=postgres");
> ?>
> [/CODE]
>
> And when i run the script I get " Warning: pg_connect()
> [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL:
> missing or erroneous pg_hba.conf file"
>
> I have searched for pg_hba.conf, but I don't have it. Where should it be and
> what should it contain?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP-5 book

2004-07-21 Thread Jurgen Stroo
And then there is Learning PHP5 (from O'Reilly), which I should go for.


This one time, at band camp, Paul Kain said:

> Wiley Publishing. PHP5 for dummies - Janet Valade.
>
> not very advanced, but its in plain english with hints and tips and
> technical stuff thats easy to understand.
>
> For the serious beginner though.
>
>
>
>
>
> On Wed, 21 Jul 2004 12:30:13 +0400, Nadim Attari <[EMAIL PROTECTED]> wrote:
> > Hello friends,
> >
> > Can someone advise me of a very good PHP-5 book.
> >
> > Most probably i'll buy it from eyrolles.com
> >
> > Thanks,
> >
> > ~ nadim attari
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] what is difference between php and perl

2004-07-22 Thread Jurgen Stroo
"End of the commercial break, we're going back to the news headlines"

But hey, what to expect on a PHP list, right?
Well, at least a story that makes sense.

This is crap, so to speak. Syed, I suggest you should search on Google
(for example, search for "PHP vs Perl" on groups) and see what people are
talking about, and please try to find objectivity.
What is said here is mostly wrong, and without starting a
flame war again (Lost of megs and time are already used for this on the
Net), perl is not mature, limited or inflexible (why do you think perl
was able to evaluate to incorpate full OO, oh well).

Keep the following in mind when you do your search:

- Each language has its purposes, and so each languages has its strengths
and weaknesses
- Be cautious with benchmarking, lots of benchmarks are comparing apples
and eggs (compare PHP performance to plain Perl, instead of mod_perl for
example)
- Statistics of what is being installed does not say about if it's really
used.
- Drawbacks for someone can be nice features for someone else, and vice
versa.

Please find out for yourself, and don't draw any conclusions based on
the answer below. You should check them both, at least to know which
language "fits" your purpose, and may be other things come into play in
your situation also, knowledge around, time you got (perl may take a bit
more time to learn), what to do with it in the future and so on and so
forth.

Jurgen

---
"  When a man sits with a pretty girl for an hour, it seems like a
minute.
But let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." [A. Einstein, 1938]

http://jurgenstroo.com

This one time, at band camp, [EMAIL PROTECTED] said:

> PHP is more of a "binding" language that takes advantage of many different
> coding practices and puts them together. PHP is not jealous and does not
> separate or shun itself from other languages and borrows many of the ideas,
> schemes, similar libraries, etc. from these other languages. And yet, it is
> completely unique in its own way. Its easy-to-learn, low-cost and
> cross-platform identity has made it very popular in recent years.
>
> Perl is a great but is more of a mature language that has been around for
> the longest time and it doesn't have the same flexibility as PHP does on the
> web. You will find that PHP will far out-pace Perl coding, saving you both
> time and money. PHP works concurrently with free solution components such as
> Linux OS, Apache Web Server, MySQL Database and others (LAMP -
> Linux-Apache-MySQL-PHP). These components all work together beautifully,
> yielding fast and stable applications. Invest some time into it and see what
> we mean.
>
>
>
> -Original Message-
> From: Syed Ghouse [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 21, 2004 2:06 AM
> To: php mailinglists
> Subject: [PHP] what is difference between php and perl
>
> Hi all
>
> will anybody tell me the difference between perl and php
>
> Regards
> Syed
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php