On Fri, October 6, 2006 6:37 am, Ruud van Stralen wrote:
> I want to build a unix dgt driver to try to get my DGT electronic
> chess board to talk to my mac.
> I downloaded the dgtnix-1.7.tar.gz tarball, then unpacked it in the /
> sw/dgtnix folder with tar.

You don't need to unpack it in /sw.  In fact, it's probably better that
you don't.  Fink-installed libraries and headers can be used for
applications regardless of where they ultimately get installed.

> This results in a number of filesand two folders. So far, so good.
>
> There is no shell script "configure" however and I cannot run
> configure with the command ./configure.
> In the INSTALL file it says that to use the driver I should simply
> type 'make'.
> This does'n work. Terminal returns the following lines:
>
> ~:/sw/dgtnix MacRuud$ make
> rm -f libdgtnix.so.1.6.0 libdgtnix.so libdgtnix.so.1 libdgtnix.so.1.6
> gcc -shared -Wall,-soname,libdgtnix.so.1 -o libdgtnix.so.1.6.0 dgtnix.o
> powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
> /usr/bin/ld: Undefined symbols:
> _main
> collect2: ld returned 1 exit status
> make: *** [libdgtnix.so.1.6.0] Error 1
>
> my questions:
> 1. Am I right to think that this driver could or should work on the
> Unix based MacOSX system (running 10.4.8)

>From what you have shown above it looks like some patching would be needed.

> 2. Should I use Terminal to give the "make" command, and should this
> be done in the /sw/dgtnix folder

It should indeed be done in whatever folder where you've unpacked the
tarball.

> 3. What can or should I do to prevent these erromessages ?

Check the Makefile.  Since there's no configure, it may be the case that
the Makefile can accept flags to control the build options, e.g. turning
off the -shared flag.

> 4. Should I perhaps better leave installation of tarballs to
> professionals like you out there ?

Nope.  The more people who know how to do stuff like this, the easier it
is for the professionals. :-)

>
> More specific info is of course available.
>
> Ruud
> Netherlands
>
> Fink installed:
> Package manager version: 0.24.26,
> Distribution version: 0.8.1.rsync powerpc
>


-- 
Alexander K. Hansen
(akh)
Fink Documenter


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to