Re: [Fink-users] xfig-3.2.5-1013

2010-09-05 Thread Antonio Paolini
2010/9/4 Alexander Hansen :
> On 9/4/10 5:44 PM, Antonio Paolini wrote:
[...]
>> It's a problem of XQUARTZ.
> Fink doesn't support Xquartz on 10.6.

Ah! Fink is, at the moment, Leopard-only?

>> $ tkgate
>> dyld: Library not loaded: /usr/X11/lib/libX11.6.dylib
>>   Referenced from: /sw/bin/tkgate
>>   Reason: Incompatible library version: tkgate requires version 10.0.0
>> or later, but libX11.6.dylib provides version 9.0.0
>> Trace/BPT trap
>>
>> Sigh! :-(
>
> Try "fink rebuild tkgate".

Don't work (log in the tail of this mail.)
I can't understand in deep the X11 system and the dependencies for
this software, then i think the solution could be  two:
1) I must make an alias, or better a little script (i don't know if
bash under OSX let me to setuid a script or, like on Linux, not; i'll
try) that if i call xfig do
mv /usr/x11 /usr/X11-quartz && mv /usr/X11-SL /usr/X11
and similar for tkgate.
2) Macport version of xfig and xcircuit worked for me whit Leopard.
When I updated to Snow leopard macports are breaked and instead of
reinstalling i hoped leave macport and use only fink and homebrew.  I
must try if macport version work also with Snow Leopard.
3) (i saw only two? :-) ) Wait for xquartz support or for inclusion of
tkgate in the stable branch.
...in effect i can write to tkgate manatiner... i don't know why i not
done it ealry..

Thanks a lot for your patience and support, and for tolerating my ugly english.



=Log of tkgate installation (there is only in "unstable" packages)
The following package will be rebuilt:
 tkgate
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-tkgate-1.8.6-11
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-tkgate-1.8.6-11' in
`/sw/src/fink.build/fink-buildlock-tkgate-1.8.6-11_2010.09.05-03.10.06_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-tkgate-1.8.6-11_2010.09.05-03.10.06_darwin-i386.deb
Selecting previously deselected package fink-buildlock-tkgate-1.8.6-11.
(Reading database ... 21027 files and directories currently installed.)
Unpacking fink-buildlock-tkgate-1.8.6-11 (from
.../fink-buildlock-tkgate-1.8.6-11_2010.09.05-03.10.06_darwin-i386.deb)
...
Setting up fink-buildlock-tkgate-1.8.6-11 (2010.09.05-03.10.06) ...

gzip -dc /sw/src/tkgate-1.8.6.tgz | /sw/bin/tar -xf -  --no-same-owner
--no-same-permissions
[ -r /sw/fink/dists/unstable/main/finkinfo/sci/tkgate.patch ]
perl -pi -e 's,(tail) +([+-]?[0-9]|[+-]\$),\1 \-n\2,g' configure
perl -pi -e 's,(head) +[+-]?([0-9]|\$),\1 \-n\2,g' configure
sed -e 's|@PREFIX@|/sw|g'
/sw/fink/dists/unstable/main/finkinfo/sci/tkgate.patch | patch -p1
patching file Imakefile
patching file config.h
./configure --prefix=/sw
C compiler: gcc
Auto-configuring language to 'en' (LANG=).
Tcl/Tk Version: not found

#
WARNING: I was unable to find one or more required tcl/tk components.  If you
are sure you have tcl/tk on your system, you may need to manually configure
the location.  Uncomment and modify the TKGATE_IPATH, TKGATE_LPATH, TKGATE_LIBS
TCL_LIBRARY and TK_LIBRARY variables.  See the README file for more details.
#
make
make: *** No targets specified and no makefile found.  Stop.
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-tkgate-1.8.6-11
(Reading database ... 21028 files and directories currently installed.)
Removing fink-buildlock-tkgate-1.8.6-11 ...
Failed: phase compiling: tkgate-1.8.6-11 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

Dave Vasilevsky 

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.
END LOG ==

-- 

Antonio

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] tkgate build issue on 10.6 was Re: xfig-3.2.5-1013

2010-09-05 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 9/4/10 9:32 PM, Antonio Paolini wrote:
> 2010/9/4 Alexander Hansen :
>> On 9/4/10 5:44 PM, Antonio Paolini wrote:
> [...]
>>> It's a problem of XQUARTZ.
>> Fink doesn't support Xquartz on 10.6.
> 
> Ah! Fink is, at the moment, Leopard-only?

No.  We only support the regular Apple X11 on Snow Leopard, not Xquartz.

More to the point, we cannot provide support when people make arbitrary
changes with the system area, which is what you did with your symlink.

> 
>>> $ tkgate
>>> dyld: Library not loaded: /usr/X11/lib/libX11.6.dylib
>>>   Referenced from: /sw/bin/tkgate
>>>   Reason: Incompatible library version: tkgate requires version 10.0.0
>>> or later, but libX11.6.dylib provides version 9.0.0
>>> Trace/BPT trap
>>>
>>> Sigh! :-(
>>
>> Try "fink rebuild tkgate".
> 
> Don't work (log in the tail of this mail.)
> I can't understand in deep the X11 system and the dependencies for
> this software, then i think the solution could be  two:
> 1) I must make an alias, or better a little script (i don't know if
> bash under OSX let me to setuid a script or, like on Linux, not; i'll
> try) that if i call xfig do
> mv /usr/x11 /usr/X11-quartz && mv /usr/X11-SL /usr/X11
> and similar for tkgate.


> 2) Macport version of xfig and xcircuit worked for me whit Leopard.
> When I updated to Snow leopard macports are breaked and instead of
> reinstalling i hoped leave macport and use only fink and homebrew.  I
> must try if macport version work also with Snow Leopard.

It may.  They use their own X11 distribution, based on Xquartz, I believe.

> 3) (i saw only two? :-) ) Wait for xquartz support

This will likely _never_ happen.  Xquartz on 10.6 installs in a
completely different directory tree than Apple's X11 and it is too much
effort to support both Apple's X11 and Xquartz.

 or for inclusion of
> tkgate in the stable branch.

It needs to be fixed first for 10.6 in unstable.

> ...in effect i can write to tkgate manatiner... i don't know why i not
> done it ealry..
> 
> Thanks a lot for your patience and support, and for tolerating my ugly 
> english.
> 
> 
> 
> =Log of tkgate installation (there is only in "unstable" packages)
> The following package will be rebuilt:
>  tkgate
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-tkgate-1.8.6-11
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-tkgate-1.8.6-11' in
> `/sw/src/fink.build/fink-buildlock-tkgate-1.8.6-11_2010.09.05-03.10.06_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i
> /sw/src/fink.build/fink-buildlock-tkgate-1.8.6-11_2010.09.05-03.10.06_darwin-i386.deb
> Selecting previously deselected package fink-buildlock-tkgate-1.8.6-11.
> (Reading database ... 21027 files and directories currently installed.)
> Unpacking fink-buildlock-tkgate-1.8.6-11 (from
> .../fink-buildlock-tkgate-1.8.6-11_2010.09.05-03.10.06_darwin-i386.deb)
> ...
> Setting up fink-buildlock-tkgate-1.8.6-11 (2010.09.05-03.10.06) ...
> 
> gzip -dc /sw/src/tkgate-1.8.6.tgz | /sw/bin/tar -xf -  --no-same-owner
> --no-same-permissions
> [ -r /sw/fink/dists/unstable/main/finkinfo/sci/tkgate.patch ]
> perl -pi -e 's,(tail) +([+-]?[0-9]|[+-]\$),\1 \-n\2,g' configure
> perl -pi -e 's,(head) +[+-]?([0-9]|\$),\1 \-n\2,g' configure
> sed -e 's|@PREFIX@|/sw|g'
> /sw/fink/dists/unstable/main/finkinfo/sci/tkgate.patch | patch -p1
> patching file Imakefile
> patching file config.h
> ./configure --prefix=/sw
> C compiler: gcc
> Auto-configuring language to 'en' (LANG=).
> Tcl/Tk Version: not found
> 
> #
> WARNING: I was unable to find one or more required tcl/tk components.  If you
> are sure you have tcl/tk on your system, you may need to manually configure
> the location.  Uncomment and modify the TKGATE_IPATH, TKGATE_LPATH, 
> TKGATE_LIBS
> TCL_LIBRARY and TK_LIBRARY variables.  See the README file for more details.
> #
> make
> make: *** No targets specified and no makefile found.  Stop.
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-tkgate-1.8.6-11
> (Reading database ... 21028 files and directories currently installed.)
> Removing fink-buildlock-tkgate-1.8.6-11 ...
> Failed: phase compiling: tkgate-1.8.6-11 failed
> 
> Before reporting any errors, please run "fink selfupdate" and
> try again.  If you continue to have issues, please check to see if the
> FAQ on fink's website solves the problem.  If not, ask on the fink-users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
> 
>   Dave Vasilevsky 
> 
> Note that this is preferable to emailing the maintainer directly, since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
> =

Re: [Fink-users] tkgate build issue on 10.6 was Re: xfig-3.2.5-1013

2010-09-05 Thread Antonio Paolini
Hi, Alexander.
I must thank you. Thanks to this discussion I'm learning too much
about my system.

2010/9/5 Alexander Hansen :
[...]
> No.  We only support the regular Apple X11 on Snow Leopard, not Xquartz.
>
> More to the point, we cannot provide support when people make arbitrary
> changes with the system area, which is what you did with your symlink.

Yes, I can understand. It's impossible to know all system if the user modd its.
I will leave MacPort because I really hate this "confusion". I'm,
obviously, a Linux user, and I wish to use my tools (mc, groff,gimp,
ffmpeg, tkgate-xfig-etc, and so on) but gimp and qucs wants xquartz,
xfig compile in macport but port don't have tkgate, tkgate go easy but
want x11... ARGH!!! :-D

I hope I can leave one of these distribution, and i trying to shot
macport.  I think I must try to substitute all external packages with
fink version.

 $ tkgate
>> Don't work (log in the tail of this mail.)
[...]
>> 2) Macport version of xfig and xcircuit worked for me whit Leopard.
>> When I updated to Snow leopard macports are breaked and instead of
>> reinstalling i hoped leave macport and use only fink and homebrew.  I
>> must try if macport version work also with Snow Leopard.
>
> It may.  They use their own X11 distribution, based on Xquartz, I believe.

Uhm... it can be exact, Ports install a lot of x11 things...

>> 3) (i saw only two? :-) ) Wait for xquartz support
>
> This will likely _never_ happen.  Xquartz on 10.6 installs in a
> completely different directory tree than Apple's X11 and it is too much
> effort to support both Apple's X11 and Xquartz.

Yes, this was the problem...


>  or for inclusion of
>> tkgate in the stable branch.
>
> It needs to be fixed first for 10.6 in unstable.

Ok, clear, Tnx

[TKGATE COMPILATION]
> I'm not sure how you were able to build tkgate before but I got the same
> error.  While we sort this out, I guess you could put your Xquartz
> symlink back and then tkgate will run.

It's complicated. :-)
I compiled tkgate with Leopard and X11 NOT APPLE (X11from macosforge,
that i needed for using Gimp.)
After upgrade to Snow Leopard it still work.

Tnx a lot.
-- 
Antonio

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users