Howard Wilkinson
2008-Jan-21 17:26 UTC
[Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
I have been trying to build the idm-console-framework for fedora 7+ and get the following warnings and failures - Any suggestions about how I get past these? -- Howard Wilkinson Phone: +44(20)76907075 Coherent Technology Limited Fax: 23 Northampton Square, Mobile: +44(7980)639379 United Kingdom, EC1V 0HL Email: howard@cohtech.com
Rob Crittenden
2008-Jan-21 17:43 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Howard Wilkinson wrote:> I have been trying to build the idm-console-framework for fedora 7+ and > get the following warnings and failures - Any suggestions about how I > get past these? > --What JDK are you building with? It almost certainly won''t build with gcj. rob
Howard Wilkinson
2008-Jan-21 17:58 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Rob Crittenden wrote:> Howard Wilkinson wrote: >> I have been trying to build the idm-console-framework for fedora 7+ >> and get the following warnings and failures - Any suggestions about >> how I get past these? >> -- > > What JDK are you building with? It almost certainly won''t build with gcj. > > rob > > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >I am using the default Fedora 7 install ... if I need to fix this I need an SRPMS to install the packages and then to fix the idm-console-framekwork SRPMS to use them ... so any suggestions? -- Howard Wilkinson Phone: +44(20)76907075 Coherent Technology Limited Fax: 23 Northampton Square, Mobile: +44(7980)639379 United Kingdom, EC1V 0HL Email: howard@cohtech.com
Rob Crittenden
2008-Jan-21 18:05 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Howard Wilkinson wrote:> Rob Crittenden wrote: >> Howard Wilkinson wrote: >>> I have been trying to build the idm-console-framework for fedora 7+ >>> and get the following warnings and failures - Any suggestions about >>> how I get past these? >>> -- >> >> What JDK are you building with? It almost certainly won''t build with gcj. >> >> rob >> >> ------------------------------------------------------------------------ >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > I am using the default Fedora 7 install ... if I need to fix this I need > an SRPMS to install the packages and then to fix the > idm-console-framekwork SRPMS to use them ... so any suggestions?You''ve found the reason that the console isn''t provided on F-7. There isn''t a free JDK that can build it currently available for F-7. You''d have to start by backporting IcedTea from F-8 to F-7. Or you can install a proprietary JDK and build it that way. I don''t think console will run with gcj either still so you''d need the JRE/JDK installed to run console as well. rob
Howard Wilkinson
2008-Jan-21 18:17 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Rob Crittenden wrote:> Howard Wilkinson wrote: >> Rob Crittenden wrote: >>> Howard Wilkinson wrote: >>>> I have been trying to build the idm-console-framework for fedora 7+ >>>> and get the following warnings and failures - Any suggestions about >>>> how I get past these? >>>> -- >>> >>> What JDK are you building with? It almost certainly won''t build with >>> gcj. >>> >>> rob >>> >>> ------------------------------------------------------------------------ >>> >>> >>> -- >>> Fedora-directory-users mailing list >>> Fedora-directory-users@redhat.com >>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>> >> I am using the default Fedora 7 install ... if I need to fix this I >> need an SRPMS to install the packages and then to fix the >> idm-console-framekwork SRPMS to use them ... so any suggestions? > > You''ve found the reason that the console isn''t provided on F-7. There > isn''t a free JDK that can build it currently available for F-7. You''d > have to start by backporting IcedTea from F-8 to F-7. > > Or you can install a proprietary JDK and build it that way. I don''t > think console will run with gcj either still so you''d need the JRE/JDK > installed to run console as well. > > rob > > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >Is the back port just a single package or do I need to recreate Fedora 8? -- Howard Wilkinson Phone: +44(20)76907075 Coherent Technology Limited Fax: 23 Northampton Square, Mobile: +44(7980)639379 United Kingdom, EC1V 0HL Email: howard@cohtech.com
Rob Crittenden
2008-Jan-21 19:23 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Howard Wilkinson wrote:> Rob Crittenden wrote: >> Howard Wilkinson wrote: >>> Rob Crittenden wrote: >>>> Howard Wilkinson wrote: >>>>> I have been trying to build the idm-console-framework for fedora 7+ >>>>> and get the following warnings and failures - Any suggestions about >>>>> how I get past these? >>>>> -- >>>> >>>> What JDK are you building with? It almost certainly won''t build with >>>> gcj. >>>> >>>> rob >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> -- >>>> Fedora-directory-users mailing list >>>> Fedora-directory-users@redhat.com >>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>> >>> I am using the default Fedora 7 install ... if I need to fix this I >>> need an SRPMS to install the packages and then to fix the >>> idm-console-framekwork SRPMS to use them ... so any suggestions? >> >> You''ve found the reason that the console isn''t provided on F-7. There >> isn''t a free JDK that can build it currently available for F-7. You''d >> have to start by backporting IcedTea from F-8 to F-7. >> >> Or you can install a proprietary JDK and build it that way. I don''t >> think console will run with gcj either still so you''d need the JRE/JDK >> installed to run console as well. >> >> rob >> >> ------------------------------------------------------------------------ >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > Is the back port just a single package or do I need to recreate Fedora 8? >I don''t know, it could be a can of worms. rob
Rich Megginson
2008-Jan-22 16:53 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Howard Wilkinson wrote:> Rob Crittenden wrote: >> Howard Wilkinson wrote: >>> Rob Crittenden wrote: >>>> Howard Wilkinson wrote: >>>>> I have been trying to build the idm-console-framework for fedora >>>>> 7+ and get the following warnings and failures - Any suggestions >>>>> about how I get past these? >>>>> -- >>>> >>>> What JDK are you building with? It almost certainly won''t build >>>> with gcj. >>>> >>>> rob >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> -- >>>> Fedora-directory-users mailing list >>>> Fedora-directory-users@redhat.com >>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>> >>> I am using the default Fedora 7 install ... if I need to fix this I >>> need an SRPMS to install the packages and then to fix the >>> idm-console-framekwork SRPMS to use them ... so any suggestions? >> >> You''ve found the reason that the console isn''t provided on F-7. There >> isn''t a free JDK that can build it currently available for F-7. You''d >> have to start by backporting IcedTea from F-8 to F-7. >> >> Or you can install a proprietary JDK and build it that way. I don''t >> think console will run with gcj either still so you''d need the >> JRE/JDK installed to run console as well.On F-7 you will have to use a proprietary JRE (sun or ibm). Do you need to build for some reason? The console packages for F-7 are provided in the fedora ds yum repo - http://directory.fedoraproject.org/wiki/Release_Notes#Console_only_Installation>> >> rob >> >> ------------------------------------------------------------------------ >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > Is the back port just a single package or do I need to recreate Fedora 8? > > -- > > Howard Wilkinson > > > > Phone: > > > > +44(20)76907075 > > Coherent Technology Limited > > > > Fax: > > > > > > 23 Northampton Square, > > > > Mobile: > > > > +44(7980)639379 > > United Kingdom, EC1V 0HL > > > > Email: > > > > howard@cohtech.com > > > > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Howard Wilkinson
2008-Jan-24 08:31 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Rich Megginson wrote:> Howard Wilkinson wrote: >> Rob Crittenden wrote: >>> Howard Wilkinson wrote: >>>> Rob Crittenden wrote: >>>>> Howard Wilkinson wrote: >>>>>> I have been trying to build the idm-console-framework for fedora >>>>>> 7+ and get the following warnings and failures - Any suggestions >>>>>> about how I get past these? >>>>>> -- >>>>> >>>>>.....>>> > On F-7 you will have to use a proprietary JRE (sun or ibm). Do you > need to build for some reason? The console packages for F-7 are > provided in the fedora ds yum repo - > http://directory.fedoraproject.org/wiki/Release_Notes#Console_only_Installation > >>>I need to build from source as I want to be able to add some changes to the core and the console. I have icedtea built and installed on F7 but the console fails to build because there is a clash between an idm supplied class and a system class. [javac] /usr/src/redhat/BUILD/idm-console-framework-1.1.0/src/com/netscape/management/client/preferences/FilePreferenceManager.java:49: reference to Console is ambiguous, both class com.netscape.management.client.console.Console in com.netscape.management.client.console and class java.io.Console in java.io match IDM supplies the com.netscape.management.client.console.Console and icedtea provides java.io.Console. Before I go diving into the ant environment any pointers where this is being setup and how to fix? Howard. -- Howard Wilkinson Phone: +44(20)76907075 Coherent Technology Limited Fax: 23 Northampton Square, Mobile: +44(7980)639379 United Kingdom, EC1V 0HL Email: howard@cohtech.com
Rich Megginson
2008-Jan-24 15:12 UTC
Re: [Fedora-directory-users] Trying to build idm-console-framework from SRPMS fails on Fedora 7
Howard Wilkinson wrote:> Rich Megginson wrote: >> Howard Wilkinson wrote: >>> Rob Crittenden wrote: >>>> Howard Wilkinson wrote: >>>>> Rob Crittenden wrote: >>>>>> Howard Wilkinson wrote: >>>>>>> I have been trying to build the idm-console-framework for fedora >>>>>>> 7+ and get the following warnings and failures - Any suggestions >>>>>>> about how I get past these? >>>>>>> -- >>>>>> >>>>>> > ..... >>>> >> On F-7 you will have to use a proprietary JRE (sun or ibm). Do you >> need to build for some reason? The console packages for F-7 are >> provided in the fedora ds yum repo - >> http://directory.fedoraproject.org/wiki/Release_Notes#Console_only_Installation >> >>>> > I need to build from source as I want to be able to add some changes > to the core and the console. I have icedtea built and installed on F7 > but the console fails to build because there is a clash between an idm > supplied class and a system class. > > [javac] > /usr/src/redhat/BUILD/idm-console-framework-1.1.0/src/com/netscape/management/client/preferences/FilePreferenceManager.java:49: > reference to Console is ambiguous, both class > com.netscape.management.client.console.Console in > com.netscape.management.client.console and class java.io.Console in > java.io match > > IDM supplies the com.netscape.management.client.console.Console and > icedtea provides java.io.Console. > > Before I go diving into the ant environment any pointers where this is > being setup and how to fix?Ah yes. I had to fix this when I submitted the packages to Fedora. There were a few issues like this that IcedTea didn''t like. I fixed them and released idm-console-framework 1.1.1 - there are also 1.1.1 versions of the other Java components. I suggest you start with those - they are functionally equivalent to 1.1.0. http://directory.fedoraproject.org/wiki/Source See also http://directory.fedoraproject.org/wiki/BuildingConsole> > Howard. > -- > > Howard Wilkinson > > > > Phone: > > > > +44(20)76907075 > > Coherent Technology Limited > > > > Fax: > > > > > > 23 Northampton Square, > > > > Mobile: > > > > +44(7980)639379 > > United Kingdom, EC1V 0HL > > > > Email: > > > > howard@cohtech.com > > > > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >