Re: [Fink-users] Autoconf having trouble to find X11 libs on snowleo

2009-09-11 Thread Martin Costabel
Jan Haag wrote:
> Thank you for the answers... I'll try and find out which packages are  
> affected.
> At least I know what I'm facing now, and maybe one can get this old  
> script
> back working, at least until all the packages detect X11 without it.

Hundreds of packages have been fixed already, so it would indeed be 
interesting to know about those that haven't, and to fix them.

We do have xmkmf in Fink, but unfortunately installed in a place where 
configure does not find it automatically without aid.

-- 
Martin


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Autoconf having trouble to find X11 libs on snowleo

2009-09-10 Thread Jan Haag
Thank you for the answers... I'll try and find out which packages are  
affected.
At least I know what I'm facing now, and maybe one can get this old  
script
back working, at least until all the packages detect X11 without it.

Jan


On Sep 10, 2009, at 10:16 PM, Alexander Hansen wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> It doesn't actually work on on a 10.5 setup which doesn't have a
> /usr/X11/bin/xmkmf, either.  That's the normal state of X11s that were
> installed after OS 10.5.2 or so.  People who started at 10.5.0 may  
> still
> have it, since Software Update doesn't remove it, nor does the X11
> installer from macosforge.org, so maintainers often miss that.
>
> A lot of packages check for xmkmf in the PATH as their X11 detection
> system.  Some of them are nice enough to provide alternate configure
> parameters to get around that, so we can add :
>
>   --x-libraries=/usr/X11R6/lib--x-includes=/usr/X11R6/include
>
> to the ConfigureParams (arguments to the configure script).
> Some packages, however, don't do that, and we have options to get  
> around
> this lack, via our own xmkmf package and passing an environment  
> variable
> or even setting the PATH appropriately.
>
> Basically, file a report for each individual package that you want  
> which
> is having this problem and we'll come up with a fix.
> - --
> Alexander Hansen
> Fink User Liaison
>
> Jan Haag wrote:
>> Well... It basically shows up in configure saying
>>
>> checking for X... no
>>
>> That holds true for any package that checks for it... I only found it
>> in trying to install
>> libxfce4mcs3-4.2.3-1003, but other packages seem to have the same
>> problem.
>> I'm not too good when it comes to shell scripting, but to me it looks
>> like the problem is
>> in the configure script... X11 itself seems to be fine, as Gimp.app
>> works.
>> Actually, a small app that uses the X11 libs for debugging GUI apps
>> just built fine, but it
>> doesn't have a configure script... (It is called xdotool, if that
>> matters -- just something I found
>> in an old backup for a test...)
>> The only idea I have on why this might happen is that some kind of
>> environment variable
>> is unset in snowleo, which used to be set in older OS X versions...
>>
>> That's about it -- I can't think of anything else that could be of  
>> any
>> help at all...
>>
>> Jan
>>
>> On Sep 10, 2009, at 6:30 PM, Martin Costabel wrote:
>>
>>> Jan Haag wrote:
 Hi list,
 I'm not sure wether or not this is the right place to ask, but on
 my  newly installed Mac OS X 10.6
 it looks like any package depending on X11 doesn't find it... As
 far  as I understood the workflow
 of the autoconf-script, the headers should be found, but the
 libraries  not...
 The fink system-xfree86 package, including the -dev and -shlibs
 parts,  is installed.
 Though it's most likely something simple I missed, I don't really
 have  any idea on how to fix it...
 Any help would be highly appreciated.
>>> Could you give the output of a concrete example for what you mean?
>>>
>>> -- 
>>> Martin
>>>
>>>
>>>
>>>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkqpXroACgkQB8UpO3rKjQ89zgCgoVoHdlt1ps+gLao0O8U+gDfy
> pa4An2sQPUSX9ARk4xUutC1PpfBSpgVN
> =yncK
> -END PGP SIGNATURE-


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Autoconf having trouble to find X11 libs on snowleo

2009-09-10 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It doesn't actually work on on a 10.5 setup which doesn't have a
/usr/X11/bin/xmkmf, either.  That's the normal state of X11s that were
installed after OS 10.5.2 or so.  People who started at 10.5.0 may still
have it, since Software Update doesn't remove it, nor does the X11
installer from macosforge.org, so maintainers often miss that.

A lot of packages check for xmkmf in the PATH as their X11 detection
system.  Some of them are nice enough to provide alternate configure
parameters to get around that, so we can add :

--x-libraries=/usr/X11R6/lib--x-includes=/usr/X11R6/include

to the ConfigureParams (arguments to the configure script).
Some packages, however, don't do that, and we have options to get around
this lack, via our own xmkmf package and passing an environment variable
or even setting the PATH appropriately.

Basically, file a report for each individual package that you want which
is having this problem and we'll come up with a fix.
- --
Alexander Hansen
Fink User Liaison

Jan Haag wrote:
> Well... It basically shows up in configure saying
> 
> checking for X... no
> 
> That holds true for any package that checks for it... I only found it  
> in trying to install
> libxfce4mcs3-4.2.3-1003, but other packages seem to have the same  
> problem.
> I'm not too good when it comes to shell scripting, but to me it looks  
> like the problem is
> in the configure script... X11 itself seems to be fine, as Gimp.app  
> works.
> Actually, a small app that uses the X11 libs for debugging GUI apps  
> just built fine, but it
> doesn't have a configure script... (It is called xdotool, if that  
> matters -- just something I found
> in an old backup for a test...)
> The only idea I have on why this might happen is that some kind of  
> environment variable
> is unset in snowleo, which used to be set in older OS X versions...
> 
> That's about it -- I can't think of anything else that could be of any  
> help at all...
> 
> Jan
> 
> On Sep 10, 2009, at 6:30 PM, Martin Costabel wrote:
> 
>> Jan Haag wrote:
>>> Hi list,
>>> I'm not sure wether or not this is the right place to ask, but on  
>>> my  newly installed Mac OS X 10.6
>>> it looks like any package depending on X11 doesn't find it... As  
>>> far  as I understood the workflow
>>> of the autoconf-script, the headers should be found, but the  
>>> libraries  not...
>>> The fink system-xfree86 package, including the -dev and -shlibs  
>>> parts,  is installed.
>>> Though it's most likely something simple I missed, I don't really  
>>> have  any idea on how to fix it...
>>> Any help would be highly appreciated.
>> Could you give the output of a concrete example for what you mean?
>>
>> -- 
>> Martin
>>
>>
>>
>>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqpXroACgkQB8UpO3rKjQ89zgCgoVoHdlt1ps+gLao0O8U+gDfy
pa4An2sQPUSX9ARk4xUutC1PpfBSpgVN
=yncK
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Autoconf having trouble to find X11 libs on snowleo

2009-09-10 Thread Jan Haag
Well... It basically shows up in configure saying

checking for X... no

That holds true for any package that checks for it... I only found it  
in trying to install
libxfce4mcs3-4.2.3-1003, but other packages seem to have the same  
problem.
I'm not too good when it comes to shell scripting, but to me it looks  
like the problem is
in the configure script... X11 itself seems to be fine, as Gimp.app  
works.
Actually, a small app that uses the X11 libs for debugging GUI apps  
just built fine, but it
doesn't have a configure script... (It is called xdotool, if that  
matters -- just something I found
in an old backup for a test...)
The only idea I have on why this might happen is that some kind of  
environment variable
is unset in snowleo, which used to be set in older OS X versions...

That's about it -- I can't think of anything else that could be of any  
help at all...

Jan

On Sep 10, 2009, at 6:30 PM, Martin Costabel wrote:

> Jan Haag wrote:
>> Hi list,
>> I'm not sure wether or not this is the right place to ask, but on  
>> my  newly installed Mac OS X 10.6
>> it looks like any package depending on X11 doesn't find it... As  
>> far  as I understood the workflow
>> of the autoconf-script, the headers should be found, but the  
>> libraries  not...
>> The fink system-xfree86 package, including the -dev and -shlibs  
>> parts,  is installed.
>> Though it's most likely something simple I missed, I don't really  
>> have  any idea on how to fix it...
>> Any help would be highly appreciated.
>
> Could you give the output of a concrete example for what you mean?
>
> -- 
> Martin
>
>
>
>


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Autoconf having trouble to find X11 libs on snowleo

2009-09-10 Thread Peter O'Gorman
Jan Haag wrote:
> Hi list,
> I'm not sure wether or not this is the right place to ask, but on my  
> newly installed Mac OS X 10.6
> it looks like any package depending on X11 doesn't find it... As far  
> as I understood the workflow
> of the autoconf-script, the headers should be found, but the libraries  
> not...
> The fink system-xfree86 package, including the -dev and -shlibs parts,  
> is installed.
> 
> Though it's most likely something simple I missed, I don't really have  
> any idea on how to fix it...
> Any help would be highly appreciated.


I don't understand quite what you mean, it works for me:

$ cat configure.ac
AC_INIT([foo],[0.1])
AC_PROG_CC
AC_PATH_X
$ autoconf
$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11/lib, headers

This is correct, -L/usr/X11/lib is needed to find libraries, no -I flags
are needed.

If you are talking about a package with an older configure script, then
yes, you may have to rerun autoconf on that package, or pass
--x-libraries=/usr/X11R6/lib to configure, as xmkmf does not exist on
10.6, and older autoconf did not know how to find the location of X11 on
Mac OS X without it.

Peter
-- 
Peter O'Gorman
http://pogma.com

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Autoconf having trouble to find X11 libs on snowleo

2009-09-10 Thread Martin Costabel
Jan Haag wrote:
> Hi list,
> I'm not sure wether or not this is the right place to ask, but on my  
> newly installed Mac OS X 10.6
> it looks like any package depending on X11 doesn't find it... As far  
> as I understood the workflow
> of the autoconf-script, the headers should be found, but the libraries  
> not...
> The fink system-xfree86 package, including the -dev and -shlibs parts,  
> is installed.
> 
> Though it's most likely something simple I missed, I don't really have  
> any idea on how to fix it...
> Any help would be highly appreciated.

Could you give the output of a concrete example for what you mean?

-- 
Martin





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Autoconf having trouble to find X11 libs on snowleo

2009-09-10 Thread Jan Haag
Hi list,
I'm not sure wether or not this is the right place to ask, but on my  
newly installed Mac OS X 10.6
it looks like any package depending on X11 doesn't find it... As far  
as I understood the workflow
of the autoconf-script, the headers should be found, but the libraries  
not...
The fink system-xfree86 package, including the -dev and -shlibs parts,  
is installed.

Though it's most likely something simple I missed, I don't really have  
any idea on how to fix it...
Any help would be highly appreciated.

Jan


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users