[Fink-devel] Failed: phase compiling: xbae-4.60.4-1 failed

2010-02-15 Thread Dominique Dhumieres
Installing xbae on OSX 10.6.1 failed with:

...
gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o 
.libs/libXbae.4.0.60.dylib  .libs/Actions.o .libs/Caption.o .libs/Clip.o 
.libs/Converters.o .libs/Create.o .libs/Draw.o .libs/Input.o .libs/Matrix.o 
.libs/Methods.o .libs/Public.o .libs/ScrollMgr.o .libs/Shadow.o .libs/Utils.o 
.libs/DebugUtil.o  -L/sw64/lib /sw64/lib/libXm.dylib -lXt -lXext -lX11  
-install_name  /sw64/lib/libXbae.4.dylib -Wl,-compatibility_version -Wl,5 
-Wl,-current_version -Wl,5.60
ld: library not found for -lXt
collect2: ld returned 1 exit status
make[1]: *** [libXbae.la] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2

Adding --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib to
the ConfigureParams seems to solve the problem.

TIA

Dominique

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Failed: phase compiling: oleo-1.99.16-1021 failed

2010-02-15 Thread Dominique Dhumieres
Installing oleo on OSX 10.6.2 failed with:

...
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
configure: error: installation or configuration problem: C compiler cannot 
create executables.
checking whether the C compiler (gcc  -L/sw64/lib) works... no
### execution of ac_cv_exeext='' failed, exit code 1

The config.log is

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:611: checking for a BSD compatible install
configure:664: checking whether build environment is sane
configure:721: checking whether make sets ${MAKE}
configure:767: checking for working aclocal
configure:780: checking for working autoconf
configure:793: checking for working automake
configure:806: checking for working autoheader
configure:819: checking for working makeinfo
configure:839: checking whether to enable maintainer-specific portions of 
Makefiles
configure:890: checking for gcc
configure:1003: checking whether the C compiler (gcc  -L/sw64/lib) works
configure:1019: gcc -o conftest  -Wno-long-double -I/sw64/include -L/sw64/lib 
conftest.c  1>&5
cc1: error: unrecognized command line option "-Wno-long-double"
configure: failed program was:

#line 1014 "configure"
#include "confdefs.h"

main(){return(0);}

TIA

Dominique

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Failed: phase compiling: xbae-4.60.4-1 failed

2010-02-15 Thread Hanspeter Niederstrasser
Dominique Dhumieres wrote:
> Installing xbae on OSX 10.6.1 failed with:
> 
> ...
> gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o 
> .libs/libXbae.4.0.60.dylib  .libs/Actions.o .libs/Caption.o .libs/Clip.o 
> .libs/Converters.o .libs/Create.o .libs/Draw.o .libs/Input.o .libs/Matrix.o 
> .libs/Methods.o .libs/Public.o .libs/ScrollMgr.o .libs/Shadow.o .libs/Utils.o 
> .libs/DebugUtil.o  -L/sw64/lib /sw64/lib/libXm.dylib -lXt -lXext -lX11  
> -install_name  /sw64/lib/libXbae.4.dylib -Wl,-compatibility_version -Wl,5 
> -Wl,-current_version -Wl,5.60
> ld: library not found for -lXt
> collect2: ld returned 1 exit status
> make[1]: *** [libXbae.la] Error 1
> make: *** [all-recursive] Error 1
> ### execution of make failed, exit code 2
> 
> Adding --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib to
> the ConfigureParams seems to solve the problem.

Failed also on 10.5/i386.  I've added those flags to ConfigureParams and 
checked the changes into unstable CVS.  Should be available shortly for 
everyone else.

Hanspeter

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Build error in oleo-1.99.16-1021 on 10.5

2010-02-15 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

10.5.8/i386
Xcode 3.1.4
Xquartz 2.4

I get the following failure:
...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib   -Wno-long-double
- -I/sw/include  -g -O2 -DLOCALEDIR=\"/sw/share/locale\"
- -DBUILD_PREFIX='"'/sw'"' -c io-motif.c
io-motif.c: In function 'MotifCreatePrintDialog':
io-motif.c:2169: warning: 'cupsGetPrinters' is deprecated (declared at
/usr/include/cups/cups.h:156)
io-motif.c: At top level:
io-motif.c:5726: error: syntax error before numeric constant

The source file in question has the following near that line:


int
io_col_to_input_pos (int c)
{
#if 1
  Debug(__FILE__, "io_col_to_input_pos\n");
  return 0;
#else
  struct input_view * iv = &thePort->input_view;
  char * prompt = (iv->expanded_keymap_prompt
   ? iv->expanded_keymap_prompt
   : (iv->prompt ? iv->prompt : ""));
  int prompt_wid = iv->prompt_metric (prompt, strlen(prompt));

  c -= prompt_wid;
  {
int cpos;
int max = iv->visibility_end - iv->visibility_begin + 1;
for (cpos = 1; cpos <= max; ++cpos)
  if (iv->input_metric (iv->input_area->buf + iv->visibility_begin,
cpos)
  >= c)
break;
return iv->visibility_begin + cpos - 1;
  }
#endif
}

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

iEYEARECAAYFAkt58msACgkQB8UpO3rKjQ/UEACdGb0BI1daxe0aPHXygA4rxlcT
wYEAnRyVRoGB1HuewLo4Lytm8iL4Bgsk
=kJX7
-END PGP SIGNATURE-

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel