On 05/05/2013 05:38 PM, Scott Talbert wrote:
> On Sat, 4 May 2013, John Schulz wrote:
> 
>> I'm having issues building Concordance 1.0 in OS X 10.8.3.
>> I installed libusb (via homebrew) but configure isn't detecting it. Can I
>> specify a location for the .h file? Here's the location and some other info
>> on my libusbx install:
> 
> You should be able to point configure to your libusb header files by doing 
> something like:
> ./configure CFLAGS=-I/path/to/libusb/header

I didn't have to do that, I just needed to get pkgconfig working and then
define my pkgconfig include directories properly:

export PATH=$PATH:/opt/pkgconfig/bin
export PKG_CONFIG=/opt/pkgconfig/bin/pkg-config
export
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig

I also needed to patch libconcord to compile on mac:

--- libconcord/usblan.cpp       10 Apr 2013 04:24:53 -0000      1.15
+++ libconcord/usblan.cpp       6 May 2013 02:56:54 -0000
@@ -48,7 +48,7 @@
 static SOCKET sock = SOCKET_ERROR;

 const char * const remote_ip_address = "169.254.1.2";
-const u_short remote_port            = 3074;
+const uint16_t remote_port            = 3074;
 const int connect_timeout            = 1; // try to connect for 1 seconds

 const char * const http_get_cmd = "\


-- 
Phil Dibowitz                             p...@ipom.com
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't matter
 and those who matter don't mind."
 - Dr. Seuss


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to