[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] problem install postgis in FreeBSD
From:       "Craig Miller" <craig () millerfam ! net>
Date:       2003-09-27 0:58:13
Message-ID: 3055.64.168.248.155.1064624293.squirrel () www ! millerfam ! net
[Download RAW message or body]

I think you skipped step 2.  Please cvsup your ports tree and try again.

--Craig

<quote who="Ricardo Javier Aranibar León">
> Hi Craig,
> &nbsp;
> I recive your message and I don't find the source of postgresql, I
> installed Postgresql from CD ports then this lines don't function &nbsp;
> #&nbsp; gmake
> PGSQL_SRC=/usr/ports/databases/postgresql7/work/postgresql-7.3.4#&nbsp;
> gmake
> PGSQL_SRC=/usr/ports/databases/postgresql7/work/postgresql-7.3.4install
> and when I run only gmake I have this message:
> Makefile:27:../../src/Makefile.global:No such file or directory
> Makefile:111:/src/Makefile.shlib:no such file or directory
> gmake: *** No rule to make target '/src/Makefile.shlib' stop
> &nbsp;
> &nbsp;
> I have FreeBSD4.8, postgresql-7.3.2 for example I can installed without
> problem the proj4 &nbsp;
> Regards,
> Ricardo
> &nbsp;
> &nbsp;
> //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>  Craig wrote
> Here are some notes I took last week.Install FreeBSD 4.8cvsup the ports
> collectionDo the following as root&nbsp; E.g.$ su -Password:&nbsp;
> &lt;enter your password&gt;# cd /rootInstall postgresqlcd
> /usr/ports/databases/postgresql7makemake installInstall proj4cd
> /rootfetch ftp://ftp.remotesensing.org/pub/proj/proj-4.4.7.tar.gzgzip
> -dc proj-4.4.7.tar.gz | tar xvf -cd proj-4.4.7./configuremakemake
> installInstall postgis#&nbsp; cd /root#&nbsp; fetch
> http://postgis.refractions.net/postgis-0.7.5.tar.gz#&nbsp; gzip -dc
> postgis-0.7.5.tar.gz | tar xvf -#&nbsp; cd postgis-0.7.5#&nbsp; vi
> Makefile/USE_PROJ=0:s/USE_PROJ=0/USE_PROJ=1/:wq#&nbsp; gmake
> PGSQL_SRC=/usr/ports/databases/postgresql7!
> /work/postgresql-7.3.4#&nbsp; gmake
> PGSQL_SRC=/usr/ports/databases/postgresql7/work/postgresql-7.3.4installInitialize
> PostgreSQL# cd /usr/local/share/postgresql# su -l pgsql -c "initdb -E
> UNICODE"# /usr/local/etc/rc.d/010.pgsql.sh startEnable remote accessedit
> ~pgsql/data/postgresql.confuncomment tcpip=false, and change it to
> tcpip=trueedit ~pgsql/data/pg_hba.conf and add an entry to trust the
> host you wantto connect from.# su -l pgsql pg_ctl restartRead a few docs
> -- get familiarFor postmaster settings, see
> /usr/local/pgsql/data/postgresql.confFor more tips, read
> /usr/local/pgsql/post-install-notesFor complete PostgreSQL docs, look in
> /usr/local/share/postgresqlFor PostGIS docs, look in
> /usr/local/share/postgresql/contribPlay with itCreate your database# cd
> /usr/local/share/postgresql/contrib# su -l pgsql -c "createdb -E UNICODE
> &lt;yourtestdatabase&gt;"Add plpgsq! l support# su -l pgsql -c
> "createlang plpgsql &lt;yourtestdatabase&gt;"Add all the postgis
> extensions, and create the postgis tables (e.g.spatial ref sys.# su -l
> pgsql -c "psql -d &lt;yourtestdatabase&gt;
> -f/usr/local/share/postgresql/contrib/postgis.sql"Populate the Spatial
> Ref System tables.# su -l pgsql -c "psql -d &lt;yourtestdatabase&gt;
> -f/usr/local/share/postgresql/contrib/spatial_ref_sys.sql"¿Estás
> buscando un auto nuevo?  Haz clic aquí...


-- 
Craig Miller
craig@millerfam.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic