Re: Fwd: Zope_Database_issue

Michele Marcionelli <[email protected]> Fri, 19 Nov 2010 14:46:45 +0100
Newsgroups gmane.comp.web.zope.database
Message-ID <[email protected]>
--===============6581456179589810426==
Content-Type: multipart/alternative; boundary="Apple-Mail-13-482076817"

--Apple-Mail-13-482076817
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="windows-1252"

Are you sure that the header file are in =
/home/postgres/7.4.13/src/include? And are readable for the user "test"?

Normally I would expect to find them in something lik this

    /home/postgres/7.4.13/include

M.

PS: Why don't you install everything as "root" in /opt/?


On Nov 19, 2010, at 14:40 , smita kamdar wrote:

>=20
>=20
>=20
> HI,
>=20
> =20
> I uninstalled Psycopg from my LINUX m/c & now zope is working fine.
>=20
> =20
> Again I started installing psycopg-1.1.6 & in the first step itsef it =
gives the following error:
>=20
> =20
> [test@test psycopg-1.1.6]$. /configure
>=20
>                                           =
--prefix=3D/opt/zope/psycopg-1.1.6
>=20
>                                           =
--with-mxdatetime-includes=3D/home/test/egenix/2.0.6/mx/DateTime/mxDateTim=
e
>=20
>                                           =
--with-postgres-includes=3D/home/postgres/7.4.13/src/include
>=20
>                                           =
--with-postgres-libraries=3D/home/postgres/7.4.13/lib
>=20
>                                           --with-zope=3D/opt/zope
>=20
> loading cache ./config.cache
>=20
> checking for python... /usr/bin/python
>=20
> checking python version... 2.4
>=20
> checking python installation prefix... /home/test/Python/2.4.4
>=20
> checking python installation exec_prefix... /home/test/Python/2.4.4
>=20
> checking definitions in Python library makefile... done
>=20
> checking location of python library... =
$(prefix)/lib/python2.4/site-packages
>=20
> checking location of python shared modules... =
$(exec_prefix)/lib/python2.4/site-packages
>=20
> checking for gcc... gcc -pthread
>=20
> checking whether the C compiler (gcc -pthread   ) works... yes
>=20
> checking whether the C compiler (gcc -pthread   ) is a =
cross-compiler... no
>=20
> checking whether we are using GNU C... yes
>=20
> checking whether gcc -pthread accepts -g... yes
>=20
> checking how to run the C preprocessor... gcc -pthread -E
>=20
> checking whether make sets ${MAKE}... yes
>=20
> checking for inline... inline
>=20
> checking PostgreSQL version... configure: error: missing PostgreSQL =
headers
>=20
> =20
> Is it because of this error that I am not able to solve the issue? =
Because last time when I Installed Psycopg I faced the same error.
>=20
> =20
> How shall I progress?
>=20
> =20
> Please Note: Paths of the Directories where my installables are =96
>=20
> =20
> Zope --=E0  /opt/zope
>=20
> Python =E0 /home/test/Python/2.4.4
>=20
> Egenix -=E0 /home/test/egenix
>=20
> Postgresql=E0 /home/postgres/7.4.13
>=20
> Psycopg=E0/opt/zope/psycopg-1.1.6
>=20
> =20
>=20
>=20
> _______________________________________________
> Zope-DB mailing list
> [email protected]
> https://mail.zope.org/mailman/listinfo/zope-db

--=20
ETH Z=FCrich
Michele Marcionelli
IT Support Gruppe D-MATH
HG G 32.1
R=E4mistrasse 101
CH=968092 Z=FCrich

[email protected]
http://www.math.ethz.ch/~michele

+41 44 632 6193 Telefon
+41 44 632 1354 Fax


--Apple-Mail-13-482076817
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="windows-1252"

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Are =
you sure that the header file are in&nbsp;<font class=3D"Apple-style-span"=
 face=3D"Courier">/home/postgres/7.4.13/src/include</font>? And are =
readable for the user "<font class=3D"Apple-style-span" =
face=3D"Courier">test</font>"?<div><br></div><div>Normally I would =
expect to find them in something lik =
this</div><div><br></div><div>&nbsp;&nbsp; &nbsp;<span =
class=3D"Apple-style-span" style=3D"font-family: Courier; =
">/home/postgres/7.4.13/include</span></div><div><br></div><div>M.</div><d=
iv><br></div><div>PS: Why don't you install everything as "<font =
class=3D"Apple-style-span" face=3D"Courier">root</font>" in <font =
class=3D"Apple-style-span" =
face=3D"Courier">/opt/</font>?</div><div><br></div><div><br></div><div><di=
v><div>On Nov 19, 2010, at 14:40 , smita kamdar wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><meta =
http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3DWindows-1252"><br><br><div class=3D"gmail_quote"><br>








<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">

<div><p class=3D"MsoNormal"><font color=3D"maroon" face=3D"Times New =
Roman" size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">HI,</span></font></p><div><font color=3D"maroon" face=3D"Times =
New Roman" size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div><p class=3D"MsoNormal"><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">I uninstalled Psycopg from my =
LINUX m/c
&amp; now zope is working fine. </span></font></p><div><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div><p class=3D"MsoNormal"><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">Again I started installing =
psycopg-1.1.6
&amp; in the first step itsef it gives the following =
error:</span></font></p><div><font color=3D"maroon" face=3D"Times New =
Roman" size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div><p class=3D"MsoNormal"><font =
color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, 153);">[test@test =
psycopg-1.1.6]$. /configure </span></font></p><p class=3D"MsoNormal"><font=
 color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--prefix=3D/opt/zope/psycopg-1.1.6 </span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
=
--with-mxdatetime-includes=3D/home/test/egenix/2.0.6/mx/DateTime/mxDateTim=
e </span></font></p><p class=3D"MsoNormal"><font color=3D"#333399" =
face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: rgb(51, 51, =
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--with-postgres-includes=3D/home/postgres/7.4.13/src/include =
</span></font></p><p class=3D"MsoNormal"><font color=3D"#333399" =
face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: rgb(51, 51, =
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--with-postgres-libraries=3D/home/postgres/7.4.13/lib =
</span></font></p><p class=3D"MsoNormal"><font color=3D"#333399" =
face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: rgb(51, 51, =
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--with-zope=3D/opt/zope</span></font></p><p class=3D"MsoNormal"><font =
color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, 153);">loading cache =
./config.cache</span></font></p><p class=3D"MsoNormal"><font =
color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, 153);">checking for =
python... /usr/bin/python</span></font></p><p class=3D"MsoNormal"><font =
color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, 153);">checking python =
version... 2.4</span></font></p><p class=3D"MsoNormal"><font =
color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, 153);">checking python =
installation prefix...
/home/test/Python/2.4.4</span></font></p><p class=3D"MsoNormal"><font =
color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, 153);">checking python =
installation
exec_prefix... /home/test/Python/2.4.4</span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">checking definitions in Python library
makefile... done</span></font></p><p class=3D"MsoNormal"><font =
color=3D"#333399" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: rgb(51, 51, 153);">checking location of =
python library...
$(prefix)/lib/python2.4/site-packages</span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">checking location of python shared
modules... =
$(exec_prefix)/lib/python2.4/site-packages</span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">checking for gcc... gcc -pthread</span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">checking whether the C compiler (gcc
-pthread&nbsp;&nbsp; ) works... yes</span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">checking whether the C compiler (gcc
-pthread&nbsp;&nbsp; ) is a cross-compiler... no</span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">checking whether we are using GNU C...
yes</span></font></p><p class=3D"MsoNormal"><font color=3D"#333399" =
face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: rgb(51, 51, 153);">checking whether gcc -pthread accepts
-g... yes</span></font></p><p class=3D"MsoNormal"><font color=3D"#333399" =
face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: rgb(51, 51, 153);">checking how to run the C
preprocessor... gcc -pthread -E</span></font></p><p =
class=3D"MsoNormal"><font color=3D"#333399" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: rgb(51, 51, =
153);">checking whether make sets ${MAKE}...
yes</span></font></p><p class=3D"MsoNormal"><font color=3D"#333399" =
face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: rgb(51, 51, 153);">checking for inline... =
inline</span></font></p><p class=3D"MsoNormal"><b><font color=3D"#333399" =
face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: rgb(51, 51, 153); font-weight: bold;">checking PostgreSQL
version... configure: error: missing PostgreSQL =
headers</span></font></b></p><div><font color=3D"maroon" face=3D"Times =
New Roman" size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div><p class=3D"MsoNormal"><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">Is it because of this error =
that I am not
able to solve the issue? Because last time when I Installed Psycopg I =
faced the
same error. </span></font></p><div><font color=3D"maroon" face=3D"Times =
New Roman" size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div><p class=3D"MsoNormal"><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">How shall I =
progress?</span></font></p><div><font color=3D"maroon" face=3D"Times New =
Roman" size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div><p class=3D"MsoNormal"><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">Please Note: Paths of the =
Directories
where my installables are =96</span></font></p><div><font color=3D"maroon"=
 face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt; =
color: maroon;">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div><p class=3D"MsoNormal"><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">Zope --</span></font><font =
color=3D"maroon" face=3D"Wingdings"><span style=3D"font-family: =
Wingdings; color: maroon;">=E0</span></font><font color=3D"maroon"><span =
style=3D"color: maroon;">&nbsp; /opt/zope</span></font></p><p =
class=3D"MsoNormal"><font color=3D"maroon" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: maroon;">Python =
</span></font><font color=3D"maroon" face=3D"Wingdings"><span =
style=3D"font-family: Wingdings; color: maroon;">=E0</span></font><font =
color=3D"maroon"><span style=3D"color: maroon;"> =
/home/test/Python/2.4.4</span></font></p><p class=3D"MsoNormal"><font =
color=3D"maroon" face=3D"Times New Roman" size=3D"3"><span =
style=3D"font-size: 12pt; color: maroon;">Egenix -</span></font><font =
color=3D"maroon" face=3D"Wingdings"><span style=3D"font-family: =
Wingdings; color: maroon;">=E0</span></font><font color=3D"maroon"><span =
style=3D"color: maroon;"> /home/test/egenix</span></font></p><p =
class=3D"MsoNormal"><font color=3D"maroon" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">Postgresql</span></font><font color=3D"maroon" =
face=3D"Wingdings"><span style=3D"font-family: Wingdings; color: =
maroon;">=E0</span></font><font color=3D"maroon"><span style=3D"color: =
maroon;"> /home/postgres/7.4.13</span></font></p><p =
class=3D"MsoNormal"><font color=3D"maroon" face=3D"Times New Roman" =
size=3D"3"><span style=3D"font-size: 12pt; color: =
maroon;">Psycopg</span></font><font color=3D"maroon" =
face=3D"Wingdings"><span style=3D"font-family: Wingdings; color: =
maroon;">=E0</span></font><font color=3D"maroon"><span style=3D"color: =
maroon;">/opt/zope/psycopg-1.1.6</span></font></p><div><font face=3D"Times=
 New Roman" size=3D"3"><span style=3D"font-size: =
12pt;">&nbsp;</span></font><br class=3D"webkit-block-placeholder"></div>

</div>

</div>



<table><tbody><tr><td bgcolor=3D"#ffffff"><font =
color=3D"#000000"><pre><br></pre></font></td></tr></tbody></table>
</div><br>
_______________________________________________<br>Zope-DB mailing =
list<br><a =
href=3D"mailto:[email protected]">[email protected]</a><br>https://mail.zope=
.org/mailman/listinfo/zope-db<br></blockquote></div><br><div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; =
">--&nbsp;<br>ETH Z=FCrich<br>Michele Marcionelli<br>IT Support Gruppe =
D-MATH<br>HG G 32.1<br>R=E4mistrasse 101<br>CH=968092 Z=FCrich<br><br><a =
href=3D"mailto:[email protected]">michele.marcionelli@math.=
ethz.ch</a><br>http://www.math.ethz.ch/~michele<br><br>+41 44 632 6193 =
Telefon<br>+41 44 632 1354 Fax</span>
</div>
<br></div></body></html>=

--Apple-Mail-13-482076817--

--===============6581456179589810426==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Zope-DB mailing list
[email protected]
https://mail.zope.org/mailman/listinfo/zope-db

--===============6581456179589810426==--