|
|||||||||
Sunday the 22nd of November, 2009 |
|||||||||
myodbc most recent diffversion 3.51.11
Scroll down toward the bottom of the page to get installation instructions for myodbc. The raw portfile for myodbc 3.51.11 is located here: http://myodbc.darwinports.com/dports/databases/MyODBC/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/myodbc The myodbc Portfile 54299 2009-07-24 18:39:58Z toby PortSystem 1.0 Name: MyODBC Version: 3.51.11 Category: databases Platform: darwin Maintainers: cotsworth.com:simon Description: MySQL Connector/ODBC Long Description: MySQL Connector/ODBC (also known as MyODBC) allows you to connect to a MySQL database server using the ODBC database API on all Microsoft Windows and most Unix platforms, including through such applications and programming environments such as Microsoft Access, Microsoft Excel, and Borland Delphi. Homepage: http://www.mysql.com/ set sitedir Downloads/${name}3/ Master Sites: ftp://planetmirror.com/pub/mysql/${sitedir} http://www.softagency.co.jp/MySQL/${sitedir} ftp://sunsite.dk/mirrors/mysql/${sitedir} http://mysql.mirror.anlx.net/${sitedir} http://gd.tuwien.ac.at/db/mysql/${sitedir} http://mysql.mediatraffic.fi/${sitedir} ftp://filepile.tiscali.de/mirror/mysql/${sitedir} http://mirrors.tilian.co.uk/mysql.com/${sitedir} ftp://ftp.rtfm.no/pub/mysql/${sitedir} http://www.mysql.cz/${sitedir} ftp://ftp.u-paris10.fr/mysql.com/${sitedir} http://mysql.oms-net.nl/${sitedir} ftp://ftp.free.fr/pub/MySQL/${sitedir} Checksums: md5 fb295a2a07dab09caf608f2227b531ef # sha1 f59b754a6249af2de057969f845ad9739b0ff3ac depends_lib lib:libmysqlclient:mysql4 lib:libodbc.1:unixODBC lib:libz.1:zlib post-patch { reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/imyodbc/Makefile.osx } configure.args --with-unixODBC=${prefix} --with-unixODBC-includes=${prefix}/include --with-unixODBC-libs=${prefix}/lib --with-odbc-ini=${prefix}/etc/odbc.ini --with-mysql-path=${prefix} --enable-thread-safe --enable-shared --enable-static --without-debug --without-samples --disable-gui platform darwin { configure.args-append --enable-bundles --enable-dmlink --enable-imyodbc } Variant: samples { configure.args-delete --without-samples configure.args-append --with-samples } Variant: debug { configure.args-delete --without-debug configure.args-append --with-debug } post-destroot { # install directories foreach dir [list ${name} doc/${name} unixODBC] { xinstall -d -m 0755 ${destroot}${prefix}/share/$dir } # install readme files foreach readme [glob ${worksrcpath}/\[A-Z\]*\[A-Z\] ${worksrcpath}/\[A-Z\]*.\[a-z\]] { xinstall -m 0644 $readme ${destroot}${prefix}/share/doc/${name} } # install samples if { [variant_isset samples] } { xinstall -d -m 0755 ${destroot}${prefix}/share/${name}/samples foreach sample [glob ${worksrcpath}/samples/.libs/my_*] { xinstall -m 0755 $sample ${destroot}${prefix}/share/${name}/samples } } # install example odbc.ini xinstall -m 0644 ${portpath}/${filesdir}/odbc.ini ${destroot}${prefix}/share/${name}/odbc.ini.dist reinplace "s|/usr/local|${prefix}|g" ${destroot}${prefix}/share/${name}/odbc.ini.dist # install MyODBC templates foreach template [glob ${portpath}/${filesdir}/*.template] { xinstall -m 0644 $template ${destroot}${prefix}/share/unixODBC } reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/share/unixODBC/mysql.driver.template } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/myodbcYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using myodbc with these commands: % man myodbc Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




