| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 9 Aug 2007 15:03:20
|
agdolla
Senior member
Joined: 9 Aug 2007 14:56:23
Messages: 1
Offline
|
Hi I installed enterprisedb (edbpg-824-linux-x32-b1.tar.gz) on centos 5.0 (i386). I try to use postgis but it does not work for me... According to http://www.postgis.org/documentation/ first I issued 'createlang plpgsql DBNAME' then I tried 'psql -d yourtestdatabase -f lwpostgis.sql' and that is the problem. First I tried to use /opt/edb-postgres/8.2/8.2.4/share/lwpostgis.sql but that file contains a stupid path (/home/buildfarm/buildfarm/builds/postgres-8.2.4/070806-21.52.05/install/lib/liblwgeom.so.1.2). I changed the path to /opt/edb-postgres/8.2/8.2.4/lib/liblwgeom.so.1.2 and now I get psql.bin:/tmp/lwpostgis.sql:4225: ERROR: could not find function "coveredby" in file "/opt/edb-postgres/8.2/8.2.4/lib/liblwgeom.so.1.2" Please help, thanks Gabor
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10 Aug 2007 09:08:10
|
ashaar1
Senior member
Joined: 7 Aug 2007 11:42:08
Messages: 38
Location: Edison, NJ
Offline
|
agdolla wrote:Hi I installed enterprisedb (edbpg-824-linux-x32-b1.tar.gz) on centos 5.0 (i386). I try to use postgis but it does not work for me... According to http://www.postgis.org/documentation/ first I issued 'createlang plpgsql DBNAME' then I tried 'psql -d yourtestdatabase -f lwpostgis.sql' and that is the problem. First I tried to use /opt/edb-postgres/8.2/8.2.4/share/lwpostgis.sql but that file contains a stupid path (/home/buildfarm/buildfarm/builds/postgres-8.2.4/070806-21.52.05/install/lib/liblwgeom.so.1.2). I changed the path to /opt/edb-postgres/8.2/8.2.4/lib/liblwgeom.so.1.2 and now I get psql.bin:/tmp/lwpostgis.sql:4225: ERROR: could not find function "coveredby" in file "/opt/edb-postgres/8.2/8.2.4/lib/liblwgeom.so.1.2" Please help, thanks Gabor
Please look forward t see this fixed in the beta2 of Linux installer which will be released in a weeks time.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10 Aug 2007 09:23:48
|
Anonymous
|
I compiled postgres, postgis, geos and proj from source and it just works. I wonder why I'd use enterprisedb instead of the original ?
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10 Aug 2007 10:32:46
|
ashaar1
Senior member
Joined: 7 Aug 2007 11:42:08
Messages: 38
Location: Edison, NJ
Offline
|
Anonymous wrote:I compiled postgres, postgis, geos and proj from source and it just works. I wonder why I'd use enterprisedb instead of the original ?
For geos IIRC, I would probably need to update the Makefile such that instead of expanding the path the .sql files start making use of $libpath The purpose of this installer is that you wouldn't have to compile it yourself and it would be pre-configured to use. I appreciate the time taken out to test these installers and reporting issues back to us for fixing and making them better. I am not sure what you meant by "original", the installer contains binaries that are built from the latest stable sources pulled from the respective project websites.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 10 Aug 2007 11:01:12
|
Anonymous
|
Hi I did not want to be mean, sorry if my words hurted you (I'm not native English) Could you please publish your work so that we could see what your system does and how the product is built ? What extra is added ? also, instead of the fancy java installer an rpm repository from which I could install/upgrade with yum would be far more usable regards Gabor
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 13 Aug 2007 11:51:28
|
davep
Senior member
![[Avatar]](/images/avatar/6512bd43d9caa6e02c990b0a82652dca.png)
Joined: 7 Aug 2007 16:40:25
Messages: 17
Offline
|
Anonymous wrote: also, instead of the fancy java installer an rpm repository from which I could install/upgrade with yum would be far more usable
We are currently working on cross-platform RPMs and a .DEB distribution for users that prefer the platform-standard package manager over the GUI installer.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 17 Aug 2007 07:46:14
|
ooober
Senior member
![[Avatar]](/images/avatar/6ea9ab1baa0efb9e19094440c317e21b.jpg)
Joined: 15 Aug 2007 03:33:29
Messages: 7
Offline
|
The file lwpostgis.sql contains some error functions and they need to be fixed. I changed lwpostgis.sql file with the EDB's Installer file and it will work fine  ooober
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 21 Aug 2007 08:46:57
|
shoaib1
Senior member
![[Avatar]](/images/avatar/9bf31c7ff062936a96d3c8bd1f8f2ff3.png)
Joined: 8 Aug 2007 05:04:08
Messages: 350
Location: Islamabad, Pakistan
Offline
|
Can you please mention a few changes you had to do in order to make it work? Thanks,
|
-- Shoaib Mir Project Analyst EnterpriseDB (www.enterprisedb.com) |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 28 Aug 2007 04:28:39
|
ooober
Senior member
![[Avatar]](/images/avatar/6ea9ab1baa0efb9e19094440c317e21b.jpg)
Joined: 15 Aug 2007 03:33:29
Messages: 7
Offline
|
compare edb-postgres lwpostgis.sql file with EDB lwpostgis.sql file and u will find the differece
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 28 Aug 2007 05:13:36
|
shoaib1
Senior member
![[Avatar]](/images/avatar/9bf31c7ff062936a96d3c8bd1f8f2ff3.png)
Joined: 8 Aug 2007 05:04:08
Messages: 350
Location: Islamabad, Pakistan
Offline
|
I was actually asking if you modified the sql file and then used that or you just used the one that was available with EnterpriseDB installation. I know comparing the two files can always give the difference but I wanted to ask what exactly were the steps you did in the process...
|
-- Shoaib Mir Project Analyst EnterpriseDB (www.enterprisedb.com) |
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 29 Aug 2007 08:21:28
|
ooober
Senior member
![[Avatar]](/images/avatar/6ea9ab1baa0efb9e19094440c317e21b.jpg)
Joined: 15 Aug 2007 03:33:29
Messages: 7
Offline
|
Just replace lwpostgis.sql file with edb installer and it will work  and update the path 2!!!!
This message was edited 1 time. Last update was at 5 Sep 2007 07:40:51
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 6 Sep 2007 11:25:36
|
ashaar1
Senior member
Joined: 7 Aug 2007 11:42:08
Messages: 38
Location: Edison, NJ
Offline
|
Linux 32 Build 2 Installers are now available, can you try out this issue on the new build.
|
|
|
 |
|
|