Michael Schouman | 12 Feb 2011 19:23

Re: postgresql install

Thanks for the replys all, glad to see that there is some life in this project :-)

<at> Tyler I am running a 32 bits OS.

<at>
Les Well i was following the guide and that is why i am asking ;-)
I cant imagine that i am the only one with this problem... All the stuff in the last mail wasnt clear enough? The part that is failling is the part where the how to tells me to install iplike and wants me to run a shell script.

<at> Benjamin Thank you for acknowledging. I was thinking that the script was confused. But why. All possible errors are checked but still this weird error.

I figured that the script does a insert (i am not really into postgresql, more in mysql so sorry if i use the wrong terms) into the database. So it might be more simple to just tell the script to insert... Correct me if i am wrong of course.

So anyway, how can i bedug this problem? Or do you have any other tips?

Thanks!



On Fri, Feb 11, 2011 at 9:41 PM, Benjamin Reed <ranger <at> opennms.org> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 2/11/11 3:01 PM, Michael Schouman wrote:
> cat <<END | $PG_COMMAND CREATE OR REPLACE FUNCTION
> iplike(text,text) RETURNS bool AS '$libdir/$dlname' LANGUAGE 'c'
> WITH(isstrict); END
>
> This seems to be a problem. So is the question, why?


That's a good question, because '$libdir' should evaluate to whatever
*postgresql* thinks its libdir is, so if it's trying /usr/lib then
it's confused.  :(

- --
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFNVZ7kUu+jZtP2Zf4RAqN6AJ9dayvBq5OqKaxC7bHv0CXcpfW3pwCfZxgo
tMZLkFNPzTcvwpxUVGXhkdw=
=e74o
-----END PGP SIGNATURE-----




--
Afstudeerproject: #LiveArtz
http://www.LiveArtz.nl

http://portfolio.schouman.info
My digital portfolio/CV

-------------------------------------------------------
Deze email is verstuurd door Michael
Disclaimer: http://blog.schouman.info/index.php/e-mail-disclaimer/

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

Gmane