Re: [Fink-users] unable to build r-base32

2015-05-15 Thread Jesse Alama
Alexander Hansen  writes:

> fink-0.38.4 stopped requiring the /usr/X11 and /usr/X11R6 convenience
> symlinks for 10.8 and later.  Unfortunately, package maintainers
> didn’t exactly rush to update their packages accordingly.  fink-0.38.5
> will revert to the old behavior, in which /usr/X11R6 must be present
> to provide the X11 virtual packages.

Indeed, setting up that symlink does the job -- thanks!

Jesse

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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


Re: [Fink-users] unable to build r-base32

2015-05-14 Thread Alexander Hansen

> On May 14, 2015, at 01:22, Jesse Alama  wrote:
> 
> It seems that I can't build r-base32.  I'm on 10.10.3.  The error appears to 
> lie in not being able to detect some part of X: in the configure stage, I see
> 
> [snip]
> ...
> checking for IceConnectionNumber in -lICE... no
> checking X11/Intrinsic.h usability... no
> checking X11/Intrinsic.h presence... no
> checking for X11/Intrinsic.h... no
> configure: error: --with-x=yes (default) and X11 headers/libs are not 
> available
> [snip]
> 
> (Complete build log attached.) The x11 and x11-dev pseudopackages are 
> present, and XQuartz 2.7.7 is installed.  Apparently I'm missing some devel 
> package, but I'm not sure what additional package ought to be installed. 
> 
> Thanks,
> 
> Jesse

fink-0.38.4 stopped requiring the /usr/X11 and /usr/X11R6 convenience symlinks 
for 10.8 and later.  Unfortunately, package maintainers didn’t exactly rush to 
update their packages accordingly.  fink-0.38.5 will revert to the old 
behavior, in which /usr/X11R6 must be present to provide the X11 virtual 
packages.


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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


[Fink-users] unable to build r-base32

2015-05-14 Thread Jesse Alama
It seems that I can't build r-base32.  I'm on 10.10.3.  The error appears to 
lie in not being able to detect some part of X: in the configure stage, I see

[snip]
...
checking for IceConnectionNumber in -lICE... no
checking X11/Intrinsic.h usability... no
checking X11/Intrinsic.h presence... no
checking for X11/Intrinsic.h... no
configure: error: --with-x=yes (default) and X11 headers/libs are not available
[snip]

(Complete build log attached.) The x11 and x11-dev pseudopackages are present, 
and XQuartz 2.7.7 is installed.  Apparently I'm missing some devel package, but 
I'm not sure what additional package ought to be installed. 

Thanks,

Jesse

WARNING: Xcode.app version (0.0) and Xcode Command Line Tools version (6.3)
are not compatible.
You may experience build errors.

The following package will be installed or updated:
 r-base
The following 2 additional packages will be installed:
 r-base32 r-base32-shlibs
Default answer will be chosen in 60 seconds...
Do you want to continue? [Y/n] Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-r-base32-3.2.0-2 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-r-base32-3.2.0-2' in 
`/sw/src/fink.build/fink-buildlock-r-base32-3.2.0-2_2015.05.14-10.14.33_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-r-base32-3.2.0-2_2015.05.14-10.14.33_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-r-base32-3.2.0-2.
(Reading database ... 288743 files and directories currently installed.)
Unpacking fink-buildlock-r-base32-3.2.0-2 (from 
.../fink-buildlock-r-base32-3.2.0-2_2015.05.14-10.14.33_darwin-x86_64.deb) ...
Setting up fink-buildlock-r-base32-3.2.0-2 (2015.05.14-10.14.33) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.PRVkF
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xf 
/sw/src/R-3.2.0.tar.gz
sudo -u fink-bld [ENV] sh -c /tmp/fink.cZDyL
[ -r /sw/fink/dists/stable/main/finkinfo/sci/r-base32.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.zxks7
/tmp/fink.B3MzW
#!/bin/sh -ev
  #sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
  patch -p1 < /sw/fink/dists/stable/main/finkinfo/sci/r-base32.patch
patching file Makeconf.in
patching file Makefile.fw
patching file configure
Hunk #3 succeeded at 30592 (offset 1 line).
Hunk #4 succeeded at 30762 (offset 1 line).
Hunk #5 succeeded at 32331 (offset 1 line).
Hunk #6 succeeded at 32420 (offset 1 line).
Hunk #7 succeeded at 32430 (offset 1 line).
Hunk #8 succeeded at 32439 (offset 1 line).
patching file src/main/Makefile.in
patching file src/nmath/standalone/Makefile.in
  
  # .po files not treated during CompileScript
  # perl -pi -e 's/R-devel.rpm/%N-dev by Fink/g' src/library/tools/po/R-*.po
  perl -pi -e 's/R-devel.rpm/r-base32-dev by Fink/' 
src/library/tools/R/install.R
  if [ "`uname -r | cut -d. -f1`" -gt "13" ]; then
perl -pi -e 's|framework vecLib|framework Accelerate|g' configure
  fi
uname -r | cut -d. -f1
  # Patch configure to not link like Puma on Yosemite
  perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure

  # Patch zzz.R to look for tcltk.dylib
  perl -pi -e 's|tcltk.so|tcltk.dylib|g' src/library/tcltk/R/unix/zzz.R
  # Patch x11.R to look for R_X11.dylib
  perl -pi -e 's|R_X11.so|R_X11.dylib|g' src/library/grDevices/R/unix/x11.R

  # Apply upstream fix
  perl -pi -e 's|int R_running_as_main_program|extern int 
R_running_as_main_program|' src/include/Rinterface.h
sudo -u fink-bld [ENV] sh -c /tmp/fink.4Hw6s
/tmp/fink.Ptyy9
#!/bin/sh -efv
  
  export F77=/sw/bin/gfortran-fsf-5
  export FC=/sw/bin/gfortran-fsf-5
  
  unset R_HOME
  ./configure --prefix=/sw   --libdir='/sw/lib' --mandir='${prefix}/share/man' \
  --with-blas="-framework Accelerate" \
  --with-lapack="-framework Accelerate" \
  --with-aqua --enable-R-framework=/sw/Library/Frameworks \
  --with-system-bzlib --with-system-pcre --with-system-zlib \
  --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib \
  --with-tcl-config=/sw/lib/tclConfig.sh --with-tk-config=/sw/lib/tkConfig.sh \
  --without-internal-tzcode \
  CFLAGS="-g -O3" CXXFLAGS="-g -O3" FFLAGS="-g -O3" \
  SED=/usr/bin/sed AWK=/usr/bin/awk GREP=/usr/bin/grep
checking build system type... x86_64-apple-darwin14.3.0
checking host system type... x86_64-apple-darwin14.3.0
loading site script './config.site'
loading build-specific script './config.site'
checking for pwd... /sw/bin/pwd
checking whether builddir is srcdir... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for gawk... /usr/bin/awk
checking whether ln -s works... yes
checking for bison... bison -y
checking for ar... ar
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking for sed... /usr/bin/sed
checking for which... /sw/bin/which
checking for less... /sw/bin/less
checking for gtar... /sw/bin/gtar
checking for tex... /sw