Re: Package Installing - Can't find PEAR_data_dir
| From: | Gregory Beaver | Date: | Wed, 21 Mar 2007 05:34:49 +0000 |
| Subject: | Re: Package Installing - Can't find PEAR_data_dir | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45948@lists.php.net to get a copy of this message | ||
Michael Gower wrote:
> Greetings,
>
> I can't seem to find where designated data files go upon installation.
> I've
> created my package.xml file, validated, tarballed, and pear installed. I
> can find the php files. I can find the php_pear_data_dir environment
> variable. However I can't find any of my files there. Are there any
> common
> pitfalls I may have fallen into? This is my first package and I'm really
> fuzzy on the package.xml file in general so it may be something that seems
> obvious to a vet pear developer.
Hi Vladimyr,
The locations of files correspond to configuration variables. Try:
pear config-show
This will list many variables. The ones you want to locate are those
ending in _dir. For instance, php_dir, data_dir, test_dir, etc. These
all correspond to role="php" role="data" and role="test"
How did you generate this package.xml? It's very unusual to see the
md5sum in there from a hand-generated package.xml. If you are using
PEAR_PackageFileManager, add this option to your options array:
'simpleoutput' => true
and the package.xml will be much easier to read.
Greg