11-30-2005
Thanks!!!
Just Ice,
Thank's for your help. I believe that if I run configure with --enable-gui=no! I will not have more problems.
paulexpert
Quote:
Originally Posted by Just Ice
i don't have any experience with unixodbc on hp-ux ... but ... a quick guess is that you don't have X-windows loaded on your server and/or it is in a path that is not familiar to the program you're trying to configure ...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Guys.
I kinda need some advice about the partitions.
You need to have "x86 Boot", "Solaris" and a "swap" partition right ?
I did this: I typed 10 percentage for "x86 boot" and 85 percentage for "solaris". The swap partition was at 5000mb.
Everything was going smooth, until this... (1 Reply)
Discussion started by: Noel
1 Replies
2. Solaris
I tried to install the Solaris OS x86 version to my computer and everything appeared to go smooth besides when it tried to find my graphic card. When it asked to do the test which makes your screen blank it hang it self up and just continued to "be blank" and didn´t want to work anymore. My... (1 Reply)
Discussion started by: fredrikr
1 Replies
3. HP-UX
I installed the unixODBC driver but when I execute isql, returns the following error:
----- ERROR -----
Can't open lib '/usr/local/lib/libmyodbc3.sl' : Call to mmap() failed - TEXT /usr/local/lib/libmyodbc3.sl
ERROR: Could not SQLConnect
----- DRIVER -----
/usr/local/lib
usrv45: ls -la... (11 Replies)
Discussion started by: paulexpert
11 Replies
4. AIX
Hello
I have a server that I want to install Aix 5.3, first I change on the sms to install device from the cdrom, when I boot the server on the display hangs up on the message E443 and nothing happens.
Who Can I resolve this.
Thanks in advance for your comments. (3 Replies)
Discussion started by: lo-lp-kl
3 Replies
5. Solaris
Hi.. I am running solaris 9 on an x86 server.
I already have apache up and running successfully for several months now
Server version: Apache/1.3.31 (Unix)
Server built: Aug 19 2004 09:30:33
We also have mysql installed and running:
Your MySQL connection id is 4631211 to server version:... (8 Replies)
Discussion started by: frustrated1
8 Replies
6. Solaris
Hi
I am trying to do a network install of Solaris 10 08_07 onto a Sunfire T2000. I have configured all my network-boot-arguments on the client server (named sundb1). I have installed my image of Solaris on my install server (sun1).
But when I try to install using
# boot net -s
I get the... (0 Replies)
Discussion started by: Bobby76
0 Replies
7. UNIX for Dummies Questions & Answers
I am tring to install DBD::Oracle on Solaris 9 box, I issued command
type cc
type gcc
but both are not found.
then i manually searched for gcc, i found it and create a symbolic link to it in my directory.
$ perl Makefile.pl
(works ok)
$ make
(retuns error below)
LD_RUN_PATH="" cc -G... (1 Reply)
Discussion started by: jameskay
1 Replies
8. Solaris
Hi all,
I'm working on a server with Solaris 10 and I'm trying to install the pptp client version 1.7.2.
So, the generation of the execute file is ok, I run the command 'make' and I got the pptp file.
Now I have to run the command 'make install' to install the software, but it stops at the... (3 Replies)
Discussion started by: idro
3 Replies
9. Solaris
Hi all, I'm trying to update my samba 3.5.10 to 3.6.5 due to security CVE issued with 3.5.
I downloaded and unzipped, did the make and make install and the ./configure.
I didn't use any changes to it and it said it installed correctly added it to my path and it looks like it's operating... (6 Replies)
Discussion started by: mattymatt79
6 Replies
10. UNIX for Beginners Questions & Answers
Hello, I have been experimenting several difficulties to install youtube-dl.
On its website, it suggests four different ways of installing it, using curl, wget, pip or brew.
I tried the first one following the command that they gave:
which resulted in:
The second suggestions that tells... (3 Replies)
Discussion started by: colt
3 Replies
LEARN ABOUT DEBIAN
grass-odbc
grass-odbc(1grass) Grass User's Manual grass-odbc(1grass)
NAME
grass-odbc - ODBC driver
ODBC driver ODBC driver in GRASS Communication between GRASS and ODBC database for attribute management:
| GRASS module | | ODBC Interface | | RDBMS
| GRASS | DBMI driver | unixODBC | ODBC driver | PostgreSQL
| Oracle
| ...
Supported SQL commands
All SQL commands supported by ODBC.
Operators available in conditions
All SQL operators supported by ODBC.
EXAMPLE
In this example we copy the dbf file of a SHAPE map into ODBC, then connect GRASS to the ODBC DBMS. Usually the table will be already
present in the DBMS.
Configure ODBC driver for selected database (manually or with 'ODBCConfig'). ODBC drivers are defined in /etc/odbcinst.ini.
Here is example:
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
Create DSN (data source name). The DSN is used as database name in db.* modules. Then DSN must be defined in
$HOME/.odbc.ini (for this user only) or in /etc/odbc.ini for (for all users) [watch out for the database name which appears
twice and also for the PostgreSQL protocol version]. Omit blanks at the beginning of lines:
[grass6test]
Description = PostgreSQL
Driver = PostgreSQL
Trace = No
TraceFile =
Database = grass6test
Servername = localhost
UserName = neteler
Password =
Port = 5432
Protocol = 8.0
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
ConnSettings = Configuration of an DSN without GUI is described on http://www.unixodbc.org/odbcinst.html, but
odbc.ini and .odbc.ini may be created by the 'ODBCConfig' tool. You can easily view your DSN structure by 'DataManager'. Con-
figuration with GUI is described on http://www.unixodbc.org/doc/UserManual/
To find out about your PostgreSQL protocol, run:
psql -V
Now create a new database if not yet existing:
db.createdb driver=odbc database=grass6test
Now store the table 'mytable.dbf' (here: in current directory) into PostgreSQL through ODBC:
db.connect driver=odbc database=grass6test
db.copy from_driver=dbf from_database=./ from_table=mytable
to_driver=odbc to_database=grass6test to_table=mytable
Next link map to attribute table (now the ODBC table is used, not the dbf file):
v.db.connect map=mytable.shp table=mytable key=ID
database=grass6test driver=odbc
v.db.connect -p
Finally a test: Here we should see the table columns (if the ODBC connection works):
db.tables -p
db.columns table=mytable
Now the table name 'mytable' should appear.
Doesn't work? Check with 'isql ' if the ODBC-PostgreSQL connection is really established.
Note that you can also connect mySQL, Oracle etc. through ODBC to GRASS. You can also check the vector map itself concerning a current
link to a table:
v.db.connect -p mytable.shp
which should print the database connection through ODBC to the defined RDBMS.
SEE ALSO
db.connect, v.db.connect, unixODBC web site, SQL support in GRASS GIS
Last changed: $Date: 2011-02-07 18:59:50 +0100 (Mon, 07 Feb 2011) $
Help Index
GRASS 6.4.2 grass-odbc(1grass)