|
List Info
Thread: Package Installing - Can't find PEAR_data_dir
|
|
| Package Installing - Can't find
PEAR_data_dir |

|
2007-03-20 22:20:55 |
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.
Here's the package.xml,
<?xml version="1.0"
encoding="UTF-8"?>
<package packagerversion="1.5.1"
version="2.0" xmlns="
http://pear
.php.net/dtd/package-2.0" xmlns:tasks="
http://pear.p
hp.net/dtd/tasks-1.0" xmlns si=&q
uot;
http:
//www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://pear.php.net
/dtd/tasks-1.0
http://pear.php
.net/dtd/tasks-1.0.xsd
http://pear.php.n
et/dtd/package-2.0
htt
p://pear.php.net/dtd/package-2.0.xsd">
<name>Log_xml</name>
<channel>pear.php.net</channel>
<summary>A driver for xml output for the Log
package.</summary>
<description>Log_xml provides an ability to log to an
XML file. It has an
abstract base class and subclasses implement it concretely.
It is
extensible to allow for various Schema, no DTD support is
planned.</description>
<lead>
<name>Michael Peter "Vladimyr"
Gower</name>
<user>designatevoid</user>
<email>designatevoid gmail.com</email>
<active>yes</active>
</lead>
<date>2007-03-16</date>
<time>15:55:37</time>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Ap
ache
2.0License</license>
<notes>Initial Release.</notes>
<contents>
<dir baseinstalldir="Log"
name="/">
<file baseinstalldir="Log"
md5sum="9e81934a2eb1324552816ef6385a27aa"
name="docs/examples/index.php"
role="doc" />
<file baseinstalldir="Log"
md5sum="597ea694ee3038fcae3b6215c6428c62"
name="misc/log_xmllog.xml" role="data"
/>
<file baseinstalldir="Log"
md5sum="0c874ac35fbcae36d15cbe602e24800b"
name="misc/Log_xml_xtj.xsd" role="data"
/>
<file baseinstalldir="Log"
md5sum="20bdac566670ee2cb78a6d752840d578"
name="tests/LogXmlXtjTest.php"
role="test" />
<file baseinstalldir="Log"
md5sum="109543f856d4fa56bba778b6404468db"
name="Xml/Log_xml.php" role="php" />
<file baseinstalldir="Log"
md5sum="4fb83073a7415ba5d3fefbbc771049b4"
name="Xml/Log_xml_fileToolkit.php"
role="php" />
<file baseinstalldir="Log"
md5sum="5b1526b51fc8a92323a179fc5490759b"
name="Xml/Log_xml_xtj.php" role="php"
/>
<file baseinstalldir="Log"
md5sum="7ae3f70db243e12b372dcafc37cef977"
name="Log_xml-0.1.0.tgz" role="data"
/>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.2.0</min>
</php>
<pearinstaller>
<min>1.5.1</min>
</pearinstaller>
<package>
<name>Log</name>
<channel>pear.php.net</channel>
<min>1.9</min>
</package>
<extension>
<name>pcre</name>
</extension>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-03-16</date>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Ap
ache
2.0License</license>
<notes>Initial Release.</notes>
</release>
</changelog>
</package>
If you notice anything else wrong about it, let me know,
Thank you for your time,
Vladimyr
--
Owner, <a href="http://www.peninsulawebsolutions.com">Peninsula
a> Web
Solutions</a>
|
|
| Re: Package Installing - Can't find
PEAR_data_dir |

|
2007-03-21 00:34:49 |
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
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|
|
| Re: Package Installing - Can't find
PEAR_data_dir |

|
2007-03-21 10:22:34 |
On 3/20/07, Michael Gower <designatevoid gmail.com> 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.
Environment variable or PEAR config value? What does
"pear config-show" show?
--
Justin Patrin
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|
|
| Re: Package Installing - Can't find
PEAR_data_dir |

|
2007-03-21 11:10:17 |
On 3/21/07, Justin Patrin <papercrane gmail.com> wrote:
>
> On 3/20/07, Michael Gower <designatevoid gmail.com> 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.
>
> Environment variable or PEAR config value? What does
"pear config-show"
> show?
>
> --
> Justin Patrin
>
Found them. I did a "pear config-show" and it
showed the data_dir to be in
the DocumentRoot area of Apache. I was looking for it in
the PHP/PEAR
directory before. Thank you.
How can I find who maintains the documentation for the PEAR
manual? I've
found roles and installation directories to be particularly
confusing.
Would I post to the pear-doc list?
Thank you again,
Vladimyr
--
Owner, <a href="http://www.peninsulawebsolutions.com">Peninsula
a> Web
Solutions</a>
|
|
| Re: Package Installing - Can't find
PEAR_data_dir |

|
2007-03-21 11:16:23 |
Michael Gower wrote:
> How can I find who maintains the documentation for the
PEAR manual? I've
> found roles and installation directories to be
particularly confusing.
> Would I post to the pear-doc list?
You could send an email to the list, yes. But it is better
to report a
bug here:
http://pear.php.net/bugs/report.php?package=Documentati
on
(this avoids that your report gets lost)
Regards,
Mark
--
http://www.markwiesemann.
eu
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|
|
| Re: Package Installing - Can't find
PEAR_data_dir |

|
2007-03-21 11:58:55 |
On 3/21/07, Mark Wiesemann <wiesemann php.net> wrote:
>
> Michael Gower wrote:
>
> > How can I find who maintains the documentation for
the PEAR
> manual? I've
> > found roles and installation directories to be
particularly confusing.
> > Would I post to the pear-doc list?
>
> You could send an email to the list, yes. But it is
better to report a
> bug here:
> http://pear.php.net/bugs/report.php?package=Documentati
on
> (this avoids that your report gets lost)
>
> Regards,
> Mark
>
> --
> http://www.markwiesemann.
eu
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub
.php
>
>
Thank you. The bug is now posted at
http://pea
r.php.net/bugs/bug.php?id=10442. Hopefully this will
help to fix
the issue for future developers.
Vladimyr
--
Owner, <a href="http://www.peninsulawebsolutions.com">Peninsula
a> Web
Solutions</a>
|
|
[1-6]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|