[Fink-beginners] Yet another question about 'system-java-dev'

2012-11-05 Thread daverstevens

I am attempting to install some packages on a brand new Macbook pro running
OS 10.8.2 with Fink 0.34.4. The error I am getting is the same 'Can't
resolve dependency system-java-dev (= 1.5-1) for package libidn-1.22-6'
that appears to be quite common in the last few years.

I have spent extensive time searching old posts on this issue and I think I
have tried everything that was recommended. Basically I feel like tossing my
new MBP 13 inch retina out the window like a frisbee at this point. Does
anyone have any thoughts or suggestions?

I have installed both of the java dmg's from
https://developer.apple.com/downloads/index.action
 - javadeveloper_for_os_x_2012006__11m3909.dmg
 - javadeveloper_for_os_x_2012005__11m3811.dmg

~$ fink -v
Fink 0.34.4

~$ which java
/usr/bin/java

~$ java -version
java version 1.6.0_37
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

~$ /usr/libexec/java_home -t CommandLine -V
Matching Java Virtual Machines (4):
1.6.0_37-b06-434, x86_64:   Java SE 6
/Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
1.6.0_37-b06-434, i386: Java SE 6
/Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
1.6.0_35-b10-428, x86_64:   Java SE 6
/Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home
1.6.0_35-b10-428, i386: Java SE 6
/Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home

~$ fink-virtual-pkgs --debug 21 | grep checking Java -A 11
- checking Java versions:
  - 1.6.0... nothing
  - 1.6... nothing
  - 1.5.0... nothing
  - 1.5... nothing
  - 1.5... nothing
  - 1.4.2... nothing
  - 1.4... nothing
  - 1.4... nothing
  - 1.3... nothing
- searching for java3d... found /System/Library/Java/Extensions/j3dcore.jar
- searching for javaai... found /System/Library/Java/Extensions/jai_core.jar

~$ ll /usr/bin/java
lrwxr-xr-x  1 root  wheel74B Nov  4 21:47 /usr/bin/java@ -
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

~$ ll /System/Library/Frameworks/JavaVM.framework/Versions/
total 64
lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.4@ - CurrentJDK
lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.4.2@ - CurrentJDK
lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.5@ - CurrentJDK
lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.5.0@ - CurrentJDK
lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.6@ - CurrentJDK
lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.6.0@ - CurrentJDK
drwxr-xr-x  9 root  wheel   306B Nov  4 21:47 A/
lrwxr-xr-x  1 root  wheel 1B Nov  4 21:47 Current@ - A
lrwxr-xr-x  1 root  wheel59B Nov  4 21:47 CurrentJDK@ -
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

-- 
View this message in context: 
http://old.nabble.com/Yet-another-question-about-%27system-java-dev%27-tp34642972p34642972.html
Sent from the fink-beginners mailing list archive at Nabble.com.


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners


Re: [Fink-beginners] Yet another question about 'system-java-dev'

2012-11-05 Thread Alexander Hansen
On 11/5/12 8:29 AM, daverstevens wrote:
 
 I am attempting to install some packages on a brand new Macbook pro running
 OS 10.8.2 with Fink 0.34.4. The error I am getting is the same 'Can't
 resolve dependency system-java-dev (= 1.5-1) for package libidn-1.22-6'
 that appears to be quite common in the last few years.
 
 I have spent extensive time searching old posts on this issue and I think I
 have tried everything that was recommended. Basically I feel like tossing my
 new MBP 13 inch retina out the window like a frisbee at this point. Does
 anyone have any thoughts or suggestions?
 
 I have installed both of the java dmg's from
 https://developer.apple.com/downloads/index.action
  - javadeveloper_for_os_x_2012006__11m3909.dmg
  - javadeveloper_for_os_x_2012005__11m3811.dmg
 
 ~$ fink -v
 Fink 0.34.4
 
 ~$ which java
 /usr/bin/java
 
 ~$ java -version
 java version 1.6.0_37
 Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
 Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
 
 ~$ /usr/libexec/java_home -t CommandLine -V
 Matching Java Virtual Machines (4):
 1.6.0_37-b06-434, x86_64: Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
 1.6.0_37-b06-434, i386:   Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
 1.6.0_35-b10-428, x86_64: Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home
 1.6.0_35-b10-428, i386:   Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home
 
 /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
 
 ~$ fink-virtual-pkgs --debug 21 | grep checking Java -A 11
 - checking Java versions:
   - 1.6.0... nothing
   - 1.6... nothing
   - 1.5.0... nothing
   - 1.5... nothing
   - 1.5... nothing
   - 1.4.2... nothing
   - 1.4... nothing
   - 1.4... nothing
   - 1.3... nothing
 - searching for java3d... found /System/Library/Java/Extensions/j3dcore.jar
 - searching for javaai... found /System/Library/Java/Extensions/jai_core.jar
 
 ~$ ll /usr/bin/java
 lrwxr-xr-x  1 root  wheel74B Nov  4 21:47 /usr/bin/java@ -
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
 
 ~$ ll /System/Library/Frameworks/JavaVM.framework/Versions/
 total 64
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.4@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.4.2@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.5@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.5.0@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.6@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.6.0@ - CurrentJDK
 drwxr-xr-x  9 root  wheel   306B Nov  4 21:47 A/
 lrwxr-xr-x  1 root  wheel 1B Nov  4 21:47 Current@ - A
 lrwxr-xr-x  1 root  wheel59B Nov  4 21:47 CurrentJDK@ -
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
 

I get (10.8.2):

Alexanders-MacBook-Pro:fink hansen$ /usr/libexec/java_home -t CommandLine -V
Matching Java Virtual Machines (2):
1.6.0_37-b06-434, x86_64:   Java SE 6
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_37-b06-434, i386: Java SE 6
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

As a workaround, see if you can proceed by removing the system-java
dependency locally:

http://finkers.wordpress.com/2009/07/24/creating-local-packages/

The Java detection code appears to need some improvement, but since I
don't reproduce the problem it makes it hard for me to do this.  That,
and I have extremely limited time right now.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners


[Fink-beginners] Problems updating fink

2012-11-05 Thread Jonathan Grimes


  Problems updating fink.

   I have used and updated fink over the last 2 years with no problems.  Last 
week I tried to 
   update fink but failed.  i cant remember having changed anything on my 
macbook air.
   could i get some advice on what is going wrong.

  thanks
   jon grimes




   the commands i used are:

   fink selfupdate
   then
   fink update-all

 Info on version etc is below

=
Package manager version: 0.34.4
Distribution version: selfupdate-rsync Mon Nov  5 15:33:47 2012, 10.6, x86_64
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 3.2.5
Xcode command-line tools: 3.2.5
Max. Fink build jobs:  1

=

 last lines of the compilation are given below.



cd x11  make CC=gcc OPTS=
gcc  -I../.. -I../.. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
-I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
-DHAVE_CONFIG_H -I/sw/include -c x11_w3mimg.c
gcc  -I.. -I.. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
-I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
-DHAVE_CONFIG_H -I/sw/include   -c w3mimg.c
ar rv w3mimg.a w3mimg.o x11/x11_w3mimg.o
ar: creating archive w3mimg.a
a - w3mimg.o
a - x11/x11_w3mimg.o
ranlib w3mimg.a
gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
-I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
-DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
-DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
-DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
-DLOCALEDIR=\/sw/share/locale\ -o w3mimgdisplay w3mimgdisplay.o 
w3mimg/w3mimg.a -L/sw/lib/system-openssl/lib -L/sw/lib  -L/sw/lib -lImlib2 
-L/sw/lib -lfreetype -L/usr/X11/lib -R/usr/X11/lib -lX11 -lXext -ldl -lm  
gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
-I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
-DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
-DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
-DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
-DLOCALEDIR=\/sw/share/locale\ -o inflate.o -c ./inflate.c
gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
-I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
-DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
-DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
-DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
-DLOCALEDIR=\/sw/share/locale\ -o inflate inflate.o 
-L/sw/lib/system-openssl/lib -L/sw/lib  -lz
for dir in scripts; \
do  \
(cd $dir  make PERL='/usr/bin/perl' MKDIR='mkdir -p' 
BIN_DIR='/sw/bin' AUXBIN_DIR='/sw/lib/w3m' CGIBIN_DIR='/sw/lib/w3m/cgi-bin' 
HELP_DIR='/sw/share/w3m' MAN_DIR='/sw/share/man' ETC_DIR='/sw/etc' 
CONF_DIR='/sw/etc/w3m' RC_DIR='~/.w3m' DESTDIR='' KEYBIND_SRC='keybind.c'); \
done
generating w3mhelp-funcname.pl...
done
generating w3mhelp-funcdesc*.pl...
done
for subdir in multipart w3mman; \
do \
(cd $subdir  make); \
done
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
for subdir in multipart w3mman; \
do \
(cd $subdir  make); \
done
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
(cd po  make)
test ! -f ./w3m.pot || \
  test -z ja.gmo || make ja.gmo
rm -f ja.gmo  /sw/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po
ja.po: 214 translated messages.
touch stamp-po
fink-package-precedence --depfile-ext='\.d' .
Scanning /\.d$/ dependency files...
No dependency files found.
### execution of fink-package-precedence failed, exit code 255
### execution of /tmp/fink.QY769 failed, exit code 255
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-w3m-0.5.3-3
(Reading database ... 130411 files and directories currently installed.)
Removing fink-buildlock-w3m-0.5.3-3 ...
Failed: phase compiling: w3m-0.5.3-3 failed


=
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners


[Fink-beginners] build issue with w3m, was Re: Problems updating fink

2012-11-05 Thread Alexander Hansen
On 11/5/12 8:44 AM, Jonathan Grimes wrote:
 
 
   Problems updating fink.
 
I have used and updated fink over the last 2 years with no problems.  Last 
 week I tried to 
update fink but failed.  i cant remember having changed anything on my 
 macbook air.
could i get some advice on what is going wrong.
 
   thanks
jon grimes
 
 
 
 
the commands i used are:
 
fink selfupdate
then
fink update-all
 
  Info on version etc is below
 
 =
 Package manager version: 0.34.4
 Distribution version: selfupdate-rsync Mon Nov  5 15:33:47 2012, 10.6, x86_64
 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
 Xcode.app: 3.2.5
 Xcode command-line tools: 3.2.5
 Max. Fink build jobs:  1
 
 =
 
  last lines of the compilation are given below.
 
 
 
 cd x11  make CC=gcc OPTS=
 gcc  -I../.. -I../.. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
 -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
 -DHAVE_CONFIG_H -I/sw/include -c x11_w3mimg.c
 gcc  -I.. -I.. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
 -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
 -DHAVE_CONFIG_H -I/sw/include   -c w3mimg.c
 ar rv w3mimg.a w3mimg.o x11/x11_w3mimg.o
 ar: creating archive w3mimg.a
 a - w3mimg.o
 a - x11/x11_w3mimg.o
 ranlib w3mimg.a
 gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
 -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
 -DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
 -DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
 -DLOCALEDIR=\/sw/share/locale\ -o w3mimgdisplay w3mimgdisplay.o 
 w3mimg/w3mimg.a -L/sw/lib/system-openssl/lib -L/sw/lib  -L/sw/lib -lImlib2 
 -L/sw/lib -lfreetype -L/usr/X11/lib -R/usr/X11/lib -lX11 -lXext -ldl -lm  
 gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
 -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
 -DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
 -DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
 -DLOCALEDIR=\/sw/share/locale\ -o inflate.o -c ./inflate.c
 gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
 -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
 -DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
 -DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
 -DLOCALEDIR=\/sw/share/locale\ -o inflate inflate.o 
 -L/sw/lib/system-openssl/lib -L/sw/lib  -lz
 for dir in scripts;   \
   do  \
   (cd $dir  make PERL='/usr/bin/perl' MKDIR='mkdir -p' 
 BIN_DIR='/sw/bin' AUXBIN_DIR='/sw/lib/w3m' CGIBIN_DIR='/sw/lib/w3m/cgi-bin' 
 HELP_DIR='/sw/share/w3m' MAN_DIR='/sw/share/man' ETC_DIR='/sw/etc' 
 CONF_DIR='/sw/etc/w3m' RC_DIR='~/.w3m' DESTDIR='' KEYBIND_SRC='keybind.c'); \
   done
 generating w3mhelp-funcname.pl...
 done
 generating w3mhelp-funcdesc*.pl...
 done
 for subdir in multipart w3mman; \
   do \
   (cd $subdir  make); \
   done
 make[2]: Nothing to be done for `all'.
 make[2]: Nothing to be done for `all'.
 for subdir in multipart w3mman; \
   do \
   (cd $subdir  make); \
   done
 make[2]: Nothing to be done for `all'.
 make[2]: Nothing to be done for `all'.
 (cd po  make)
 test ! -f ./w3m.pot || \
 test -z ja.gmo || make ja.gmo
 rm -f ja.gmo  /sw/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po
 ja.po: 214 translated messages.
 touch stamp-po
 fink-package-precedence --depfile-ext='\.d' .
 Scanning /\.d$/ dependency files...
 No dependency files found.
 ### execution of fink-package-precedence failed, exit code 255
 ### execution of /tmp/fink.QY769 failed, exit code 255
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-w3m-0.5.3-3
 (Reading database ... 130411 files and directories currently installed.)
 Removing fink-buildlock-w3m-0.5.3-3 ...
 Failed: phase compiling: w3m-0.5.3-3 failed
 
 

It's easier for people looking up the thread later if the subject
specifically references the package which isn't working--you aren't
having problems with the fink package manager.

What appears to be going wrong is that your compiler isn't generating
the dependency files.  I'll cc the developer who last modified the
package, since the listed maintainer isn't actually active any more.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose 

Re: [Fink-beginners] build issue with w3m, was Re: Problems updatingfink

2012-11-05 Thread Daniel Macks
On Mon, 05 Nov 2012 11:59:24 -0700, Alexander Hansen 
alexanderk.han...@gmail.com wrote:
On 11/5/12 8:44 AM, Jonathan Grimes wrote:
  Problems updating fink. 
  I have used and updated fink over the last 2 years with no 
 problems.  Last week I tried to update fink but failed.  i cant 
 remember having changed anything on my macbook air. 
 could i get some advice on what is going wrong. 
   =
  Package manager version: 0.34.4
  Distribution version: selfupdate-rsync Mon Nov  5 15:33:47 2012, 
 10.6, x86_64
  Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
  Xcode.app: 3.2.5
  Xcode command-line tools: 3.2.5
  Max. Fink build jobs:  1
   =
last lines of the compilation are given below. 
   
   cd x11  make CC=gcc OPTS=
  gcc  -I../.. -I../.. -I. -g -O2 -I./libwc 
 -I/sw/lib/system-openssl/include   -I/sw/lib/system-openssl/include  
 -I/sw/include/gc -I/sw/include -DHAVE_CONFIG_H -I/sw/include -c 
 x11_w3mimg.c
  gcc  -I.. -I.. -I. -g -O2 -I./libwc 
 -I/sw/lib/system-openssl/include   -I/sw/lib/system-openssl/include  
 -I/sw/include/gc -I/sw/include -DHAVE_CONFIG_H -I/sw/include   -c 
 w3mimg.c
  ar rv w3mimg.a w3mimg.o x11/x11_w3mimg.o
  ar: creating archive w3mimg.a
  a - w3mimg.o
  a - x11/x11_w3mimg.o
  ranlib w3mimg.a
  gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
 -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
 -DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
 -DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
 -DLOCALEDIR=\/sw/share/locale\ -o w3mimgdisplay w3mimgdisplay.o 
 w3mimg/w3mimg.a -L/sw/lib/system-openssl/lib -L/sw/lib  -L/sw/lib 
 -lImlib2 -L/sw/lib -lfreetype -L/usr/X11/lib -R/usr/X11/lib -lX11 
 -lXext -ldl -lm   gcc  -I. -I. -g -O2 -I./libwc 
 -I/sw/lib/system-openssl/include   -I/sw/lib/system-openssl/include  
 -I/sw/include/gc -I/sw/include -DHAVE_CONFIG_H 
 -DAUXBIN_DIR=\/sw/lib/w3m\ -DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ 
 -DHELP_DIR=\/sw/share/w3m\ -DETC_DIR=\/sw/etc\ 
 -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
 -DLOCALEDIR=\/sw/share/locale\ -o inflate.o -c ./inflate.c
  gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include   
 -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include 
 -DHAVE_CONFIG_H -DAUXBIN_DIR=\/sw/lib/w3m\ 
 -DCGIBIN_DIR=\/sw/lib/w3m/cgi-bin\ -DHELP_DIR=\/sw/share/w3m\ 
 -DETC_DIR=\/sw/etc\ -DCONF_DIR=\/sw/etc/w3m\ -DRC_DIR=\~/.w3m\ 
 -DLOCALEDIR=\/sw/share/locale\ -o inflate inflate.o 
 -L/sw/lib/system-openssl/lib -L/sw/lib  -lz
  for dir in scripts; \
   do \
   (cd $dir  make PERL='/usr/bin/perl' MKDIR='mkdir -p' 
 BIN_DIR='/sw/bin' AUXBIN_DIR='/sw/lib/w3m' 
 CGIBIN_DIR='/sw/lib/w3m/cgi-bin' HELP_DIR='/sw/share/w3m' 
 MAN_DIR='/sw/share/man' ETC_DIR='/sw/etc' CONF_DIR='/sw/etc/w3m' 
 RC_DIR='~/.w3m' DESTDIR='' KEYBIND_SRC='keybind.c'); \
   done
  generating w3mhelp-funcname.pl... 
  done
  generating w3mhelp-funcdesc*.pl... 
  done
  for subdir in multipart w3mman; \
   do \
   (cd $subdir  make); \
   done
  make[2]: Nothing to be done for `all'. 
  make[2]: Nothing to be done for `all'. 
  for subdir in multipart w3mman; \
   do \
   (cd $subdir  make); \
   done
  make[2]: Nothing to be done for `all'. 
  make[2]: Nothing to be done for `all'. 
  (cd po  make)
  test ! -f ./w3m.pot || \
 test -z ja.gmo || make ja.gmo
  rm -f ja.gmo  /sw/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po
  ja.po: 214 translated messages. 
  touch stamp-po
  fink-package-precedence --depfile-ext='\.d' . 
  Scanning /\.d$/ dependency files... 
  No dependency files found. 
  ### execution of fink-package-precedence failed, exit code 255
  ### execution of /tmp/fink.QY769 failed, exit code 255
  Removing runtime build-lock... 
  Removing build-lock package... 
  /sw/bin/dpkg-lockwait -r fink-buildlock-w3m-0.5.3-3
  (Reading database ... 130411 files and directories currently installed.)
  Removing fink-buildlock-w3m-0.5.3-3 ... 
  Failed: phase compiling: w3m-0.5.3-3 failed
   It's easier for people looking up the thread later if the subject
 specifically references the package which isn't working--you aren't
 having problems with the fink package manager. 

 What appears to be going wrong is that your compiler isn't generating
 the dependency files.  I'll cc the developer who last modified the
 package, since the listed maintainer isn't actually active any more. 

Fixed. I had mis-copied some flags between the different distros. 

dan

  --
Daniel Macks
dma...@netspace.org



--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into 

Re: [Fink-beginners] Yet another question about 'system-java-dev'

2012-11-05 Thread daverstevens

I was finally able to make this work. I searched google for fink java
detection to see if I could figure out what was going on from the source
and stumbled upon this post -
http://sourceforge.net/mailarchive/message.php?msg_id=29647282

I followed posted suggestion and installed Java for OS X 2012-006 from
http://support.apple.com/downloads#osxmountainlion and it worked.

I THINK the different was that java from the apple developer downloads
installs to /Library/Java... while the java in the link above installs to
/System/Library/Java...
The hilarious thing is that I actually moved the java from
/Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/ to
/Library/Java/JavaVirtualMachines/1.6.0.jdk after your response. I didn't
notice that yours was in /System... though.

Thanks for the reply. Going back to my corner to cry now.


Alexander Hansen-2 wrote:
 
 On 11/5/12 8:29 AM, daverstevens wrote:
 
 I am attempting to install some packages on a brand new Macbook pro
 running
 OS 10.8.2 with Fink 0.34.4. The error I am getting is the same 'Can't
 resolve dependency system-java-dev (= 1.5-1) for package
 libidn-1.22-6'
 that appears to be quite common in the last few years.
 
 I have spent extensive time searching old posts on this issue and I think
 I
 have tried everything that was recommended. Basically I feel like tossing
 my
 new MBP 13 inch retina out the window like a frisbee at this point. Does
 anyone have any thoughts or suggestions?
 
 I have installed both of the java dmg's from
 https://developer.apple.com/downloads/index.action
  - javadeveloper_for_os_x_2012006__11m3909.dmg
  - javadeveloper_for_os_x_2012005__11m3811.dmg
 
 ~$ fink -v
 Fink 0.34.4
 
 ~$ which java
 /usr/bin/java
 
 ~$ java -version
 java version 1.6.0_37
 Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
 Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
 
 ~$ /usr/libexec/java_home -t CommandLine -V
 Matching Java Virtual Machines (4):
 1.6.0_37-b06-434, x86_64:Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
 1.6.0_37-b06-434, i386:  Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
 1.6.0_35-b10-428, x86_64:Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home
 1.6.0_35-b10-428, i386:  Java SE 6
 /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home
 
 /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
 
 ~$ fink-virtual-pkgs --debug 21 | grep checking Java -A 11
 - checking Java versions:
   - 1.6.0... nothing
   - 1.6... nothing
   - 1.5.0... nothing
   - 1.5... nothing
   - 1.5... nothing
   - 1.4.2... nothing
   - 1.4... nothing
   - 1.4... nothing
   - 1.3... nothing
 - searching for java3d... found
 /System/Library/Java/Extensions/j3dcore.jar
 - searching for javaai... found
 /System/Library/Java/Extensions/jai_core.jar
 
 ~$ ll /usr/bin/java
 lrwxr-xr-x  1 root  wheel74B Nov  4 21:47 /usr/bin/java@ -
 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
 
 ~$ ll /System/Library/Frameworks/JavaVM.framework/Versions/
 total 64
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.4@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.4.2@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.5@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.5.0@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.6@ - CurrentJDK
 lrwxr-xr-x  1 root  wheel10B Nov  4 21:47 1.6.0@ - CurrentJDK
 drwxr-xr-x  9 root  wheel   306B Nov  4 21:47 A/
 lrwxr-xr-x  1 root  wheel 1B Nov  4 21:47 Current@ - A
 lrwxr-xr-x  1 root  wheel59B Nov  4 21:47 CurrentJDK@ -
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
 
 
 I get (10.8.2):
 
 Alexanders-MacBook-Pro:fink hansen$ /usr/libexec/java_home -t CommandLine
 -V
 Matching Java Virtual Machines (2):
 1.6.0_37-b06-434, x86_64: Java SE 6
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
 1.6.0_37-b06-434, i386:   Java SE 6
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
 
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
 
 As a workaround, see if you can proceed by removing the system-java
 dependency locally:
 
 http://finkers.wordpress.com/2009/07/24/creating-local-packages/
 
 The Java detection code appears to need some improvement, but since I
 don't reproduce the problem it makes it hard for me to do this.  That,
 and I have extremely limited time right now.
 -- 
 Alexander Hansen, Ph.D.
 Fink User Liaison
 My package updates: http://finkakh.wordpress.com/
 
 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and