List Info

Thread: (PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x




(PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x
user name
2006-08-27 21:48:02
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>

Michael Zedler wrote:
> <URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>
> 
> Hello,
> 
> I downloaded the source code of freeciv 2.1.0 beta2 and
tried to compile 
> it on Mac OS X 10.4.7. X, Xsource, Fink, gtk2+ etc. are
installed, but I 
> cannot get it compiled -- it looks like the configure
script isn't quite 
> aware of the Mac yet.
> 
> I tried
>    ./configure --libdir=/sw/lib
--libdir=/sw/lib/gtk-2.0/ 
> --includedir=/sw/include/
--includedir=/sw/include/gtk-2.0/ 
> --enable-client=xaw --with-included-gettext 
> --includedir=/sw/include/libpng12/
> 
> and it stops with
> checking for png_read_image in -lpng... no
> configure: error: Could not find PNG library (libpng).
> 
> Running the (PowerPC) .dmg of beta2 works, though.
Could you make the 
> configure script foolproof for us Mac users, please?

To compile from source you will have to install the libpng
library.

-jason




(PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x
user name
2006-08-27 21:51:02
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>

Jason Dorje Short schrieb:
> To compile from source you will have to install the
libpng library.

It is installed, both the shared library as well as the
development files.

/sw/include/png.h
d223-102:~/Documents/CVS/svn zedler$ ls /sw/lib/libpng*
/sw/lib/libpng.3.1.2.8.dylib   
/sw/lib/libpng12.0.1.2.8.dylib
/sw/lib/libpng.3.dylib          /sw/lib/libpng12.0.dylib
/sw/lib/libpng.a                /sw/lib/libpng12.a
/sw/lib/libpng.dylib            /sw/lib/libpng12.dylib


Michael




(PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x
user name
2006-08-28 22:52:04
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>

Michael Zedler wrote:
> <URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>
> 
> Jason Dorje Short schrieb:
>> To compile from source you will have to install the
libpng library.
> 
> It is installed, both the shared library as well as the
development files.
> 
> /sw/include/png.h
> d223-102:~/Documents/CVS/svn zedler$ ls /sw/lib/libpng*
> /sw/lib/libpng.3.1.2.8.dylib   
/sw/lib/libpng12.0.1.2.8.dylib
> /sw/lib/libpng.3.dylib         
/sw/lib/libpng12.0.dylib
> /sw/lib/libpng.a                /sw/lib/libpng12.a
> /sw/lib/libpng.dylib            /sw/lib/libpng12.dylib

Does configure know to look in /sw/ prefix?  Try configuring
with 
--prefix=/sw

-jason




(PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x
user name
2006-08-28 23:05:33
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>

Jason Dorje Short schrieb:
> <URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>
> 
> Michael Zedler wrote:
>> <URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>
>>
>> Jason Dorje Short schrieb:
>>> To compile from source you will have to install
the libpng library.
>> It is installed, both the shared library as well as
the development files.
>>
>> /sw/include/png.h
>> d223-102:~/Documents/CVS/svn zedler$ ls
/sw/lib/libpng*
>> /sw/lib/libpng.3.1.2.8.dylib   
/sw/lib/libpng12.0.1.2.8.dylib
>> /sw/lib/libpng.3.dylib         
/sw/lib/libpng12.0.dylib
>> /sw/lib/libpng.a                /sw/lib/libpng12.a
>> /sw/lib/libpng.dylib           
/sw/lib/libpng12.dylib
> 
> Does configure know to look in /sw/ prefix?  Try
configuring with 
> --prefix=/sw

Doesn't help. Please bear in mind that I did already use 
--includedir=/sw/include/ and --libdir=/sw/lib/

Michael




(PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x
user name
2006-08-29 15:27:19
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>

On Mon, 28 Aug 2006 Michael Zedler wrote:
> Jason Dorje Short schrieb:
> > Michael Zedler wrote:
> >> Jason Dorje Short schrieb:
> >>> To compile from source you will have to
install the libpng library.
> >> It is installed, both the shared library as
well as the development files.
> >>
> >> /sw/include/png.h
> >
> > Does configure know to look in /sw/ prefix?  Try
configuring with 
> > --prefix=/sw

I thought that --prefix affect only where we want to
install.

> Doesn't help. Please bear in mind that I did already
use 
> --includedir=/sw/include/ and --libdir=/sw/lib/

What about `CPPFLAGS="-I/sw/include/libpng12"
./confugure ...`?
Works for me (only configure tested).

PS I would like if our configure will work with
--with-...-includes
and --with-...-libs parameters (like for libggz now). Would
it be
possible in nearest future?

-- 
Thanks, evyscr




(PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x
user name
2006-09-04 04:54:24
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>

I know of one per person who has success compiling Freeciv
on Intel  
Mac.  I believe he used DarwinPorts, though.

On Aug 27, 2006, at 12:27 PM, Michael Zedler wrote:

>
> <URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>
>
> Hello,
>
> I downloaded the source code of freeciv 2.1.0 beta2 and
tried to  
> compile
> it on Mac OS X 10.4.7. X, Xsource, Fink, gtk2+ etc. are
installed,  
> but I
> cannot get it compiled -- it looks like the configure
script isn't  
> quite
> aware of the Mac yet.
>
> I tried
>    ./configure --libdir=/sw/lib
--libdir=/sw/lib/gtk-2.0/
> --includedir=/sw/include/
--includedir=/sw/include/gtk-2.0/
> --enable-client=xaw --with-included-gettext
> --includedir=/sw/include/libpng12/
>
> and it stops with
> checking for png_read_image in -lpng... no
> configure: error: Could not find PNG library (libpng).
>
> Running the (PowerPC) .dmg of beta2 works, though.
Could you make the
> configure script foolproof for us Mac users, please?
>
> Michael
>
>
>
>
>




(PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x
user name
2006-09-05 04:31:18
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>

Correction.  This person is using Fink.

--

On Sep 3, 2006, at 9:54 PM, Nathan Brazil wrote:

>
> <URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>
>
> I know of one per person who has success compiling
Freeciv on Intel
> Mac.  I believe he used DarwinPorts, though.
>
> On Aug 27, 2006, at 12:27 PM, Michael Zedler wrote:
>
>>
>> <URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=20125
>
>>
>> Hello,
>>
>> I downloaded the source code of freeciv 2.1.0 beta2
and tried to
>> compile
>> it on Mac OS X 10.4.7. X, Xsource, Fink, gtk2+ etc.
are installed,
>> but I
>> cannot get it compiled -- it looks like the
configure script isn't
>> quite
>> aware of the Mac yet.
>>
>> I tried
>>    ./configure --libdir=/sw/lib
--libdir=/sw/lib/gtk-2.0/
>> --includedir=/sw/include/
--includedir=/sw/include/gtk-2.0/
>> --enable-client=xaw --with-included-gettext
>> --includedir=/sw/include/libpng12/
>>
>> and it stops with
>> checking for png_read_image in -lpng... no
>> configure: error: Could not find PNG library
(libpng).
>>
>> Running the (PowerPC) .dmg of beta2 works, though.
Could you make the
>> configure script foolproof for us Mac users,
please?
>>
>> Michael
>>
>>
>>
>>
>>
>
>
>
>
>




[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )