Re: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Cesar Cordovez
I didn't read the fine manual.  Where in the manual says: [move 
fdftk.h to /usr/local/includes and libfdftk.so to 
/usr/local/lib]? Huh?  The manual only says:

manual source=php.net/fdf
Note:  If you run into problems configuring PHP with fdftk support, 
check whether the header file fdftk.h and the library libfdftk.so are at 
the right place. The configure script supports both the directory 
structure of the FDF SDK distribution and the usual DIR/include / 
DIR/lib layout, so you can point it either directly to the unpacked 
distribution directory or put the header file and the appropriate 
library for your platform into e.g. /usr/local/include and 
/usr/local/lib and configure with --with-fdftk=/usr/local.
/manual

It *assumes* that you now that what_ever_file.h is an include and it 
goes into DIR/Include and what_ever_file.so is an object (module, 
library?) and it goes into DIR/lib and that DIR is /usr/local.

More questions/comments about this stuff:

If the manual says fdftk.h is a header file, why it should be in the 
includes directory as opposed to the headers directory?

If libfdftk.so goes into the lib directory, it should be called 
libfdftk.lib!  Whats the meaning of .so? Standard Object?

Where is the unpacked distribution directory?

Cesar





Jason Wong wrote:

On Saturday 09 August 2003 00:05, Cesar Cordovez wrote:


I moved fdftk.h to /usr/local/includes and libfdftk.so to
/usr/local/lib and everything worked!


Sigh, that's what happens when you RTFM :-)

Now could you please tell the neurotic posters (see recent thread) that RTFM 
really does work!



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


Re: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Jason Wong
On Saturday 09 August 2003 00:05, Cesar Cordovez wrote:

 I moved fdftk.h to /usr/local/includes and libfdftk.so to
 /usr/local/lib and everything worked!

Sigh, that's what happens when you RTFM :-)

Now could you please tell the neurotic posters (see recent thread) that RTFM 
really does work!

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Goals... Plans... they're fantasies, they're part of a dream world...
-- Wally Shawn
*/


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



RE: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Jay Blanchard
[snip]
Then, I issued a make command and unfortunately I got a new error:

/usr/include/ucd-snmp/asn1.h:7:2 Please update your headers or 
configuer using --enable-ucd-snmp-compatibility

Then all hell break lose, got tons of errors (ver like this one) and 
exit the make with error 1.
[/snip]

http://us3.php.net/snmp may help. Essentially you need to add
--enable-ucd-snmp-compatibility to your configure line and re-run it.



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



Re: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Cesar Cordovez
Exactly!  I agree with you 100%.  That's why, even if you RTFM, google 
your question and search the archives, you need to ask some (very basic) 
questions to the list.   Questions like: If the manual says fdftk.h is a 
header file, why it should be in the includes directory as opposed to 
the headers directory?

For me this is a very intelligent question (and advanced too) because I 
have no idea of linux or compilers. (or as a metter of fact, what is a 
.h file).

So I think, a list is the best place to ask questions: basic, stupid, 
off topic, advanced or what ever.  If you want to anwer them ok, if you 
don't, thats ok too.

Just MHO!



Jason Wong wrote:

The manual has to assume quite a bit of stuff, like it assumes that you know 
what a file is and what a directory is. It has to draw the line somewhere as 
to what should be prior knowledge. It would be a massive manual indeed if it 
had to cover everything from installing an OS to compiling php.

The php manual isn't meant to be a tutorial on how to use a 
computer/OS/compiler/whatever. For that there are better and more appropriate 
resources available.



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


Re: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Jason Wong
On Saturday 09 August 2003 00:43, Cesar Cordovez wrote:
 I didn't read the fine manual. 

Then you should!

 Where in the manual says: [move
 fdftk.h to /usr/local/includes and libfdftk.so to
 /usr/local/lib]? Huh?  The manual only says:

[snip]

Exactly.

 It *assumes* that you now that what_ever_file.h is an include and it
 goes into DIR/Include and what_ever_file.so is an object (module,
 library?) and it goes into DIR/lib and that DIR is /usr/local.

The manual has to assume quite a bit of stuff, like it assumes that you know 
what a file is and what a directory is. It has to draw the line somewhere as 
to what should be prior knowledge. It would be a massive manual indeed if it 
had to cover everything from installing an OS to compiling php.

 More questions/comments about this stuff:

 If the manual says fdftk.h is a header file, why it should be in the
 includes directory as opposed to the headers directory?

 If libfdftk.so goes into the lib directory, it should be called
 libfdftk.lib!  Whats the meaning of .so? Standard Object?

The php manual isn't meant to be a tutorial on how to use a 
computer/OS/compiler/whatever. For that there are better and more appropriate 
resources available.

 Where is the unpacked distribution directory?

Wherever you unpacked it I presume?

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
We have nowhere else to go... this is all we have.
-- Margaret Mead
*/


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



Re: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Jason Wong
On Saturday 09 August 2003 03:50, Cesar Cordovez wrote:
 It is still giving me problems.  I deleted the --with-snmp options and
 then I receive a new problem related with apache (something like
 apache2module or so)

 I managed to download the apache 2.0.48 source, compile it and install
 it, but the (*^%$#@ program installs in /usr/local/apache2 instead or
 replacing the old copy of apache 2.0.40 (which I don't know where it is
 in my hard drive *^%$#).

If there's no particular reason for you to be using Apache 2.X then you really 
ought to be using Apache 1.3.X as that is the recommended platform for 
running PHP.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Freedom of the press is for those who happen to own one.
*/


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



RE: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Jay Blanchard
[snip]
It is still giving me problems.  I deleted the --with-snmp options and 
then I receive a new problem related with apache (something like 
apache2module or so)

I managed to download the apache 2.0.48 source, compile it and install 
it, but the (*^%$#@ program installs in /usr/local/apache2 instead or 
replacing the old copy of apache 2.0.40 (which I don't know where it is 
in my hard drive *^%$#).

Bottom line:  I'm hiring someone to do it for me.  Any ideas?
[/snip]

Sorry man...we tried. It is very hard to do compiles from a remote
location since I cannot see all of the problems being generated. Then,
every distro of Linux, BSD, et al are different and act different ways
on things like this. But hopefully you learned something!

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



Re: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Cesar Cordovez
It is still giving me problems.  I deleted the --with-snmp options and 
then I receive a new problem related with apache (something like 
apache2module or so)

I managed to download the apache 2.0.48 source, compile it and install 
it, but the (*^%$#@ program installs in /usr/local/apache2 instead or 
replacing the old copy of apache 2.0.40 (which I don't know where it is 
in my hard drive *^%$#).

Bottom line:  I'm hiring someone to do it for me.  Any ideas?

Cesar

Jay Blanchard wrote:

[snip]
For me this is a very intelligent question (and advanced too) because I 
have no idea of linux or compilers. (or as a metter of fact, what is a 
.h file).
[/snip]

You'll note that the library file began with lib. The files are C or
C++ files witha .h being a header file for the compiler. It basically
boils down to long held naming conventions. Bottom line...did you get it
done or is it still throwing errors?
Incidentally you did do exactly what the manual told you to do with the
locations.


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


Re: [PHP] FDF support in RedHat (make error)

2003-08-09 Thread Jason Wong
On Saturday 09 August 2003 02:49, Cesar Cordovez wrote:
 Exactly!  I agree with you 100%.  That's why, even if you RTFM, google
 your question and search the archives, you need to ask some (very basic)
 questions to the list.   Questions like: If the manual says fdftk.h is a
 header file, why it should be in the includes directory as opposed to
 the headers directory?

 For me this is a very intelligent question (and advanced too) because I
 have no idea of linux or compilers. (or as a metter of fact, what is a
 .h file).

Yes, an intelligent question indeed, but ultimately these type of questions 
(like how to use compilers, and why header files goes inside the include 
directory) are off topic for this list ...

 So I think, a list is the best place to ask questions: basic, stupid,
 off topic, advanced or what ever.  If you want to anwer them ok, if you
 don't, thats ok too.

... having said that it is a refreshing change from the boring register 
globals, what is a good editor to use with php type questions.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
There's always free cheese in a mousetrap.
*/


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



RE: [PHP] FDF support in RedHat (make error)

2003-08-08 Thread Jay Blanchard
[snip]
For me this is a very intelligent question (and advanced too) because I 
have no idea of linux or compilers. (or as a metter of fact, what is a 
.h file).
[/snip]

You'll note that the library file began with lib. The files are C or
C++ files witha .h being a header file for the compiler. It basically
boils down to long held naming conventions. Bottom line...did you get it
done or is it still throwing errors?

Incidentally you did do exactly what the manual told you to do with the
locations.

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