URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 44298
[ Назад ]

Исходное сообщение
" jdk 1.4 on freebsd 5.2.1"

Отправлено pag , 23-Май-04 17:43 
Вот пытаюсь поднять java на фряхи, вылетает при компиляции со следующей
ошибкой:

/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.
java:1: 'class' or 'interface' expected                                        
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location  
^                                                                              
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.
java:1: unclosed character literal                                              
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location  
                                       ^                                        
2 errors                                                                        
gmake[4]: *** [.compile.classlist] Error 1                                      
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'    
gmake[3]: *** [optimized] Error 2                                              
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'    
gmake[2]: *** [all] Error 1                                                    
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'        
gmake[1]: *** [all] Error 1                                                    
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'              
gmake: *** [j2se-build] Error 2                                                
*** Error code 2                                                                
                                                                                
Stop in /usr/ports/java/jdk14.


Подскажите как это лечиться?

rc.conf
linux_enable="YES"
linprocfs_load="YES"

fstab
linprocfs               /compat/linux/proc      linprocfs rw    0       0

порты вчера обновил............


Содержание

Сообщения в этом обсуждении
" jdk 1.4 on freebsd 5.2.1"
Отправлено phreak_j , 24-Май-04 03:07 
>Вот пытаюсь поднять java на фряхи, вылетает при компиляции со следующей
>ошибкой:
>
>/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.
>java:1: 'class' or 'interface' expected
>Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location


попробуй оптимизацию выключить в /etc/make.conf


" jdk 1.4 on freebsd 5.2.1"
Отправлено Andrey Petruk , 24-Май-04 11:24 
>попробуй оптимизацию выключить в /etc/make.conf

Она у меня выключена
вот мой make.conf

PERL_VER=5.6.1                                                          
PERL_VERSION=5.6.1                                                      
PERL_ARCH=mach                                                          
NOPERL=yo                                                              
NO_PERL=yo                                                              
NO_PERL_WRAPPER=yo                                                      
MASTER_SITE_OVERRIDE="ftp://ftp7.ua.freebsd.org/pub/FreeBSD/distfiles/"
SUP_UPDATE=     yes                                                    
#                                                                      
SUP=            /usr/local/bin/cvsup                                    
SUPFLAGS=       -g -L 2                                                
SUPHOST=        cvsup.freebsd.org                                      
#SUPFILE=        /usr/share/examples/cvsup/stable-supfile              
PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile                
#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile                  


" jdk 1.4 on freebsd 5.2.1"
Отправлено lavr , 24-Май-04 11:41 
>Вот пытаюсь поднять java на фряхи, вылетает при компиляции со следующей
>ошибкой:
>
>/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.
>java:1: 'class' or 'interface' expected
>Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
>^
>/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.
>java:1: unclosed character literal
>Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
>            
>          
>          
>     ^
>2 errors
>gmake[4]: *** [.compile.classlist] Error 1
>gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
>gmake[3]: *** [optimized] Error 2
>gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
>gmake[2]: *** [all] Error 1
>gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
>gmake[1]: *** [all] Error 1
>gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
>gmake: *** [j2se-build] Error 2
>*** Error code 2
>
>Stop in /usr/ports/java/jdk14.
>
>
>Подскажите как это лечиться?
>
>rc.conf
>linux_enable="YES"
>linprocfs_load="YES"
>
>fstab
>linprocfs            
>   /compat/linux/proc      linprocfs rw
>   0       0
>
>
>порты вчера обновил............

возможно из-за этого и проблема, попробуй посмотреть:

http://www.freebsd.org/java/