Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

sun-j2sdk and virtual/jdk portage problems.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
jefftang
n00b
n00b
Posts: 30
Joined: Sat Jan 04, 2003 7:28 am

sun-j2sdk and virtual/jdk portage problems.

  • Quote

Post by jefftang » Thu Mar 13, 2003 7:23 pm

When I try and --deep update I get this error:

Code: Select all

malazan edb # emerge -up --deep world

These are the packages that I would merge, in order:

Calculating world dependencies /
!!! all ebuilds that could satisfy ">=virtual/jdk-1.4" have been masked.
!!!    (dependency required by "dev-java/sun-j2sdk-1.4.1" [ebuild])
I'm trying to figure out about these virtuals. I search the forums and find /var/cache/edb/virtuals

Code: Select all

malazan edb # grep virtual/jdk /var/cache/edb/virtuals
virtual/jdk dev-java/blackdown-jdk dev-java/sun-j2sdk dev-java/sun-jdk 

This is puzzling because I have sun-j2sdk and sun-jdkinstalled > 1.4.

Code: Select all

malazan edb # emerge -s jdk
Searching...   
[ Results for search key : jdk ]
[ Applications found : 4 ]
 
*  dev-java/blackdown-jdk
      Latest version available: 1.3.1-r7
      Latest version installed: 1.3.1-r7
      Size of downloaded files: 65,522 kB
      Homepage:    http://www.blackdown.org
      Description: Blackdown Java Development Kit 1.3.1

*  dev-java/compaq-jdk [ Masked ]
      Latest version available: 1.3.1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 0 kB
      Homepage:    http://h18012.www1.hp.com/java/documentation/1.3.1/linux/docs/index.html
      Description: Compaq Java Development Kit 1.3.1 for Alpha/Linux/GNU

*  dev-java/ibm-jdk
      Latest version available: 1.3.1-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 0 kB
      Homepage:    http://www6.software.ibm.com/dl/dklx130/dklx130-p
      Description: IBM JDK 1.3.1

*  dev-java/sun-jdk
      Latest version available: 1.4.1.01
      Latest version installed: 1.4.1.01
      Size of downloaded files: 0 kB
      Homepage:    http://java.sun.com/j2se/1.4.1/download.html
      Description: Sun's J2SE Development Kit, version 1.4.1_01


malazan edb # emerge -s j2sdk
Searching...   
[ Results for search key : j2sdk ]
[ Applications found : 1 ]
 
*  dev-java/sun-j2sdk
      Latest version available: 1.4.1
      Latest version installed: 1.4.1
      Size of downloaded files: 0 kB
      Homepage:    http://wwws.sun.com/software/java2/download.html
      Description: Sun's J2SE Development Kit, version 1.4.0

What's going on here? I would think that those two builds would satisfy the virtual/requirement.
Top
tod
Developer
Developer
User avatar
Posts: 136
Joined: Wed Apr 17, 2002 9:41 pm
Location: Ozarks, USA
Contact:
Contact tod
Website

  • Quote

Post by tod » Thu Mar 13, 2003 10:51 pm

Just a guess, but which java is active. See java-config.
Top
jefftang
n00b
n00b
Posts: 30
Joined: Sat Jan 04, 2003 7:28 am

tried java-config

  • Quote

Post by jefftang » Fri Mar 14, 2003 3:46 am

tod wrote:Just a guess, but which java is active. See java-config.
i tried setting my vm to the sun-jdk, sun-j2sdk and blackdown-jdk. Didn't make any difference.
Top
jefftang
n00b
n00b
Posts: 30
Joined: Sat Jan 04, 2003 7:28 am

fixed

  • Quote

Post by jefftang » Tue Mar 25, 2003 3:46 pm

I fixed this by editting /var/cache/edb/virtuals and making the jdk line:

Code: Select all

virtual/jdk dev-java/sun-j2sdk dev-java/blackdown-jdk
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic