On Tue, 17 Dec 2013, Hanspeter Niederstrasser wrote:

> On 12/17/2013 3:21 AM, Viv Kendon wrote:
>> On Mon, 16 Dec 2013, Hanspeter Niederstrasser wrote:
>> 
>>> On 12/16/2013 4:55 PM, Viv Kendon wrote:
>>>> Apologies if this has already been reported.  Doesn't seem
>>>> to be a maintainer to Cc, not Cc'ing fink-devel as I'm not
>>>> subscribed.
>>>> 
>>>> cd Togl && make togl.o CC="ocamlc.opt -verbose" CFLAGS='-c
>>>> -ccopt "-c -O -I../../src -ITogl -I/sw/include -I.
>>>> -I/usr/X11R6/include "'
>>>> make[2]: Entering directory
>>>> `/sw/src/fink.build/lablgl-x11-1.04-1/lablGL-1.04/Togl/src/Togl'
>>>> ocamlc.opt -verbose -c -ccopt "-c -O -I../../src -ITogl
>>>> -I/sw/include -I.  -I/usr/X11R6/include " togl.c
>>>> + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64
>>>> -D_REENTRANT  -c -c -O -I../../src -ITogl -I/sw/include -I.
>>>> -I/usr/X11R6/include   -I'/sw/lib/ocaml' 'togl.c'
>>>> clang: warning: argument unused during compilation:
>>>> '-fno-defer-pop'
>>>> togl.c:162:2: error: "Sorry, you will have to edit togl.c to
>>>> include the right
>>>>          tkInt.h file"
>>>> #error "Sorry, you will have to edit togl.c to include the
>>>> right tkInt.h file"
>>>>     ^
>>> 
>>> Can you try the attached lablgl.info for both lablgl and lablgl-x11 ? It
>>> bumps to the latest 1.05 (our current 1.04 version is from 2008). 
>>> Hopefully
>>> it knows how to deal with the tk used on 10.9.
>>> 
>>> Hanspeter
>>> 
>> 
>> case sensitive file system typo:
>> 
>> lablgl-1.05/LablGlut/examples/caml-images/ppm.ppm
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-lablgl-1.05-1
>> (Reading database ... 274908 files and directories currently
>> installed.)
>> Removing fink-buildlock-lablgl-1.05-1 ...
>> Failed: directory
>> /sw/src/fink.build/lablgl-1.05-1/lablGL-1.05 doesn't exist,
>> check the package description
>> 
>> fixed that, but then I need the patch file:
>> 
>> lablgl-1.05/LablGlut/examples/caml-images/ppm.ppm
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-lablgl-1.05-1
>> (Reading database ... 274908 files and directories currently
>> installed.)
>> Removing fink-buildlock-lablgl-1.05-1 ...
>> Failed: Cannot read PatchFile
>> "/sw/fink/dists/local/main/finkinfo/lablgl.patch"
>> 
>> copied that out of the stable tree and lablgl compiles on
>> 10.9
>> 
>> then tried lablgl-x11 and it also compiles (with the same
>> info file mods and patch) but I then get:
>> 
>> While trying to install:
>>     lablgl-x11-1.05-1
>> 
>> The following inconsistencies found:
>>     Unsatisfied dependency in lablgtk2: lablgl
>> 
>> so either I need to specify both will do in lablglgtk2.info,
>> or lablgl-x11 needs to provide lablgl as well as lablgl-togl
>> and I'm not sure how to fix that in the info files...
>
> Thanks for testing lablgl-x11 on 10.9.  I've now checked in an update to CVS 
> with the case-sensitivity fix.  The lablgtk2 deadlock with lablgl-x11 and 
> lablgl is unavoidable given that lablgtk2 Depends: on one variant and they 
> conflict with each other.  I'm also not sure what can be done with Provides 
> to solve the lock.  If lablglgtk2 will behave the same with either lablgl-x11 
> and lablgl, then an alternative Depends: in lablglgtk2.info should work.
>
> If you do continue with updating unison in the 10.6 tree, please test and 
> copy the new lablgl-1.05 info file from the 10.7 tree as well (the patch is 
> unchanged).  I no longer seem to have access to my 10.6 machine to test 
> there.
>
> Hanspeter
>

I just tested your new lablgl-x11 on 10.6 (with my locally 
installed ocaml 4.01.0-1) and it compiles fine, and the 
previously compiled unison still works (actually, I can't 
test the gui remotely so that isn't a good test).  lablgl 
also compiles fine.  So it seems this should be good to go 
for 10.6 too.

Right now, I have lablgl installed on 10.9 and lablgl-x11 on 
10.6, and unison works OK on both.  In particular, the x11 
gui for unison is fine on 10.9 with lablgl.  But of course 
that may not hold for everything that need labglgtk2.  The 
package description in lablgtk2 suggests it doesn't really 
need labl-x11, this was a change to get it to compile at an 
earlier version that appears not to be needed now:

"Between 2.6.0-2 and 2.6.0-3 it was necessary to change 
one of the dependancies of this package from labl to 
lablgl-x11."

I don't know how to format an alternative Depends entry, but 
I think it should be OK for lablgtk2 to depend on either 
lablgl or labgl-x11.

many thanks,
-- Viv
________________________________________________
Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864      Physics and Astronomy
Quantum Information Group    University of Leeds


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to