Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 12:40:01 +0100 (BST)
From:      Richard Tobin <richard@cogsci.ed.ac.uk>
To:        John Reynolds <jjreynold@home.com>, richard@cogsci.ed.ac.uk
Cc:        multimedia@FreeBSD.ORG, usb-bsd@egroups.com
Subject:   Re: gPhoto2 / USB
Message-ID:  <200010061140.MAA21452@rhymer.cogsci.ed.ac.uk>
In-Reply-To: John Reynolds's message of Thu, 5 Oct 2000 20:47:07 -0700 (MST)

next in thread | raw e-mail | index | archive | help
> I'm having difficulty in
> getting your patch and freebsd.c file to work.

I had to make a number of minor hacks to get things to compile, which
I unfortunately did not record in detail.

> Makefile:549: *** missing separator.  Stop.

>      548 libusb-config: libusb-config.in
>      549   if FREEBSD
>      550   OS_SUPPORT = freebsd.c
>      551   else
>      552   OS_SUPPORT = 
>      553   endif

I had no idea what was meant to happen here, so I just took out all
but the "OS_SUPPORT = freebsd.c" line.  Perhaps some autoconf/gmake
expert can tell us what the right fix is.

> So, what version of libusb did you get to work? 0.1.1 or 0.1.0?

I used the version from CVS, which seems to have changed since 0.1.1. 
(That probably means you need to recompile libgpio if you already compiled
it with libusb 0.1.1 installed.)

For CVS access see:

  http://sourceforge.net/cvs/?group_id=1674

I'm running FreeBSD 4.1-RELEASE.

> Did you have to hack and compile each file individually then link
> them together into a .a/.so file by hand or did the configure script give you a
> Makefile that actually worked?

Apart from the OS_SUPPORT hack above I think it worked.

> Help me iron these kinks out. Then we can submit the diffs to the libusb
> folks. 

I already did.  In fact, if you check out the CVS version now you'll
see that they've merged in my changes.

> On a slightly different subject, I checked out the latest source code for
> gPhoto2 and it doesn't appear by any stretch of the imagination that "libusb"
> is part of gPhoto2. They seem completely disjoint. Comments?

Yes, everything seems to be separate.  I think you need gPhoto2, libusb,
libgpio, and gtkam.  I used the current CVS versions of all of these.

There were a couple of compile problems in the konica and kodak camera
libs; I just commented out those cameras since I don't have them, but
it shouldn't be hard to fix.

-- Richard


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010061140.MAA21452>