logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: odbc and mac os x: msg#00029

db.postgresql.odbc

Subject: Re: odbc and mac os x

BTW, Ray.. I see you are working on OS X server. I am
using OS X client. there must be a difference in the
env.

here is my ouput from the env command:

TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=100
USER=sacksadmin
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/pgsql/bin
PWD=/Users/sacksadmin/Documents/psqlodbc-7.2.5
SHLVL=1
HOME=/Users/sacksadmin
LOGNAME=sacksadmin
SECURITYSESSIONID=2119e0
_=/usr/bin/env
OLDPWD=/Users/sacksadmin/Documents/psqlodbc-7.2.5

Do you see any difference with yours that would
matter?

Ted

--- Ray Aspeitia <aspeitia@xxxxxxxxx> wrote:
> >I all the discussions of working with the odbc
> >release, if anyone can help with creating
> >documentation on how to compile for OS X, it would
> >really help.
> >
> >I don't have the skill set to figure out what the
> >problem is and am at a loss. I did recieve a binary
> >from someone so I know it works, but for the life
> of
> >me I have not been able to compile it.
> >
> >I have posted about the problem before but never
> got
> >anywhere.
> >
> >Ted
> >
>
> Not sure what your problem is exactly but the
> following compile
> options work for me for psqlodbc-7.2.5 on OSX Server
> 10.3.x. There
> are two files that don't normally exist, that you
> must create,
> /Library/ODBC/odbc.ini, /Library/ODBC/odbcinst.ini
>
>
> ./configure --enable-pthreads --with-iodbc
> make
> sudo make install
>
>
>
>
> note create the following files in the locations
> shown after
> installing the psqlodbc driver
> if they already exist, just add the contents as
> necessary
>
>
> /Library/ODBC/odbc.ini
>
------------------------------------------------------
> [ODBC]
> Trace = 0
> TraceAutoStop = 0
> TraceFile =
> TraceLibrary =
>
> [ODBC Data Sources]
> PostgreSQL_DSN_name = PostgreSQL
>
> [PostgreSQL_DSN_name]
> Driver = /usr/local/lib/psqlodbc.so
> Description = Some DB description
> Database = my_db_name
> Servername = localhost
>
------------------------------------------------------
>
>
>
> /Library/ODBC/odbcinst.ini
>
------------------------------------------------------
> [ODBC Drivers]
> PostgreSQL = Installed
>
> [ODBC Connection Pooling]
> PerfMon = 0
>
> [PostgreSQL]
> Driver = /usr/local/lib/psqlodbc.so
> Debug = 0
> CommLog = 1
>
------------------------------------------------------
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>
>
http://www.postgresql.org/docs/faqs/FAQ.html----------------
> TIP 5: Have you checked our extensive FAQ?
>
>
> http://www.postgresql.org/docs/faqs/FAQ.htmlgresql.org/docs/faqs/FAQ.html

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo