By univie on
Drupal is port of FreeBSD.
It is indicated that for installing drupal some PEAR-files are required (pear-Archive_Tar-1.1_1, pear-Console_Getopt-1.2, pear-DB-1.6.1,1, pear-PEAR-1.2.1_1).
Is this really necessary?
What functionality is missed if I do not install this pear-files?
I run drupal 4.4.0 with mod_php on FreeBSD (no extra pear installed) and it seems to run without problems?
Thanks
univie
Comments
PEAR
You only need PEAR when you want to use Drupal with PostgreSQL. When using MySQL, PEAR is not required.
Maybe that needs to be communicated with the FreeBSD port maintainer(s)?
Thanks for the answer >May
Thanks for the answer
>Maybe that needs to be communicated with the FreeBSD port maintainer(s)?
Yes it should. Because the port package indicates that drupal requires mysql + those pear files
Port supports both MySQL and Postgres
The port can't know in advance whether you are using MySQL or Postgres on your FreeBSD system. Both databases are supported by ports and packages on FreeBSD. The requirements list in the Drupal port simply lists the files you need for BOTH databases. The alternatives would be to list neither, which would be wrong, or just one, which would be partly wrong and preferential.
I'm not sure anything can be done about this, but the people to talk to are the ports maintainers at FreeBSD.
Add mysql to your make.conf
echo "WITH_MYSQL=yes" >> /etc/make.conf
This should compile Drupal with Mysql support. Worked for me, and worked when I had to recompile PHP with Mysql support.
man make.conf
http://www.freebsd.org/cgi/man.cgi?query=make.conf&apropos=0&sektion=0&m...
flipp3r