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

dries’s picture

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)?

univie’s picture

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

drupal-4.3.2 
CMS that supports pgsql and mysql
Maintained by: esn@x123.info
Requires: apache-1.3.29_3, expat-1.95.7, libiconv-1.9.1_3, mysql-client-4.0.18_1, 
pear-Archive_Tar-1.1_1, pear-Console_Getopt-1.2, pear-DB-1.6.1,1, pear-PEAR-1.2.1_1, 
php4-4.3.5_7
Chris Johnson’s picture

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.

flipp3r’s picture

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