Re: [classlib][depends] missing liblcms +em64t

2006-10-05 Thread Mark Hindess

On 5 October 2006 at 13:48, Ivan Volosyuk [EMAIL PROTECTED] wrote:
 Readme is quite helpful. Yesterday, I used google to locate thouse lcms libra
 ry.
 
 IMHO, if the build system displayed the link to the README.txt it
 could be much easier to deal with the issue.

Hmm... it should already?  I checked a fix yesterday.

-Mark.

 On 10/4/06, Rana Dasgupta [EMAIL PROTECTED] wrote:
  Ivan,
I went through all this a few minutes ago ( on 32 bit RedHat enterprise
  Linux ). The summary is that if you don't have the littlecms package, you
  need to download it from
http:// www.littlecms.com
  and build and deploy it in your dependencies. See the README in
  depends/libs/build.
 
  Rana
 
 -- 
 Ivan
 Intel Middleware Products Division
 
 -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib][depends] missing liblcms +em64t

2006-10-05 Thread Ivan Volosyuk

On 10/5/06, Mark Hindess [EMAIL PROTECTED] wrote:


On 5 October 2006 at 13:48, Ivan Volosyuk [EMAIL PROTECTED] wrote:
 Readme is quite helpful. Yesterday, I used google to locate thouse lcms libra
 ry.

 IMHO, if the build system displayed the link to the README.txt it
 could be much easier to deal with the issue.

Hmm... it should already?  I checked a fix yesterday.

-Mark.


Yes, it is already there.

BTW, to build on EM64T with 32-bit JDK, I need to add one additional
command line switch now:
  ant -Dos.arch=x86_64 -Dhy.arch=x86_64

--
Ivan
Intel Middleware Products Division

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib][depends] missing liblcms +em64t

2006-10-05 Thread Mark Hindess

On 5 October 2006 at 15:20, Ivan Volosyuk [EMAIL PROTECTED] wrote:
 On 10/5/06, Mark Hindess [EMAIL PROTECTED] wrote:
 
  On 5 October 2006 at 13:48, Ivan Volosyuk [EMAIL PROTECTED] wrote
 :
   Readme is quite helpful. Yesterday, I used google to locate thouse lcms l
 ibra
   ry.
  
   IMHO, if the build system displayed the link to the README.txt it
   could be much easier to deal with the issue.
 
  Hmm... it should already?  I checked a fix yesterday.
 
  -Mark.
 
 Yes, it is already there.
 
 BTW, to build on EM64T with 32-bit JDK, I need to add one additional
 command line switch now:
ant -Dos.arch=x86_64 -Dhy.arch=x86_64


Hmm... You have to see hy.arch too?  That's not right.  Should be 
better in r453201.

-Mark.





-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib][depends] missing liblcms +em64t

2006-10-05 Thread Geir Magnusson Jr.
I added all that info into the README file when I did it on windows last 
week.


Did I forget to commit it?



Ivan Volosyuk wrote:
Readme is quite helpful. Yesterday, I used google to locate thouse lcms 
library.


IMHO, if the build system displayed the link to the README.txt it
could be much easier to deal with the issue.
--
Ivan

On 10/4/06, Rana Dasgupta [EMAIL PROTECTED] wrote:

Ivan,
  I went through all this a few minutes ago ( on 32 bit RedHat enterprise
Linux ). The summary is that if you don't have the littlecms package, you
need to download it from
  http:// www.littlecms.com
and build and deploy it in your dependencies. See the README in
depends/libs/build.

Rana




-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib][depends] missing liblcms +em64t

2006-10-04 Thread Mark Hindess

On 4 October 2006 at 18:26, Ivan Volosyuk [EMAIL PROTECTED] wrote:
 Working on a patch, I've just wanted to check wether it works on em64t.
 It is not that easy as I expected. Yesterday, I have filed
 HARMONY-1676 to have classlib built.
 Today, I have:
 
 Missing dependency.  The file from:
   /usr/lib/liblcms.a
 should be linked to:
   depends/libs/build/lcms/liblcms.ia32
 
 But /usr/lib/liblcms.a doesn't exist.
 liblcms development package not installed
 For Debian/Ubuntu try: apt-get install liblcms1-dev
 
 
 First of all, why 'ia32' prefix for em64t build?

What does:

  j9 ant properties|grep arch

give you?  (Aside: I mentioned that these properties might not get set 
correctly for everyone in a note earlier today, but they are easy to
fix with the output from the above generated with a jdk for em64t.)

 Secondly, I'm happy for debian users, but not all of the users use
 debian. Much informative would be to have a URL with the sources where
 I can get the library.

I expected that users of other distributions would be able to also have
packages available for all of these things.  I have asked for details of
the package for other distributions in the past but I assumed everyone
must use Debian since no one provided any details.

Suggesting users build from source should be a last resort.

Personally, I'd like to take this further and use the .so versions of 
the system libraries rather than the static versions.

Regards,
 Mark.



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib][depends] missing liblcms +em64t

2006-10-04 Thread Mark Hindess

On 4 October 2006 at 18:26, Ivan Volosyuk [EMAIL PROTECTED] wrote:
 Working on a patch, I've just wanted to check wether it works on em64t.
 It is not that easy as I expected. Yesterday, I have filed
 HARMONY-1676 to have classlib built.
 Today, I have:
 
 Missing dependency.  The file from:
   /usr/lib/liblcms.a
 should be linked to:
   depends/libs/build/lcms/liblcms.ia32
 
 But /usr/lib/liblcms.a doesn't exist.
 liblcms development package not installed
 For Debian/Ubuntu try: apt-get install liblcms1-dev
 
 
 First of all, why 'ia32' prefix for em64t build?

One second look, this seems to be a different problem.  It looks like I
accidentally hardcode ia32 - but since that's all that we really support
at the moment then I'm not that sorry.

The wider issue is that for historical reasons the awt build still uses
ia32 and ipf where as it should probably be fixed to use the hy.arch
defines of x86 and x86_64 (and ia64 if necessary but we don't really
cover that yet anyway).

Patches welcome or I'll try to take a look in the next day or so.

Regards,
 Mark.



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib][depends] missing liblcms +em64t

2006-10-04 Thread Mark Hindess

On 4 October 2006 at 16:10, Mark Hindess [EMAIL PROTECTED] wrote:
 
 On 4 October 2006 at 18:26, Ivan Volosyuk [EMAIL PROTECTED] wrote:
  Working on a patch, I've just wanted to check wether it works on em64t.
  It is not that easy as I expected. Yesterday, I have filed
  HARMONY-1676 to have classlib built.
  Today, I have:
  
  Missing dependency.  The file from:
/usr/lib/liblcms.a
  should be linked to:
depends/libs/build/lcms/liblcms.ia32
  
  But /usr/lib/liblcms.a doesn't exist.
  liblcms development package not installed
  For Debian/Ubuntu try: apt-get install liblcms1-dev
  
  
  First of all, why 'ia32' prefix for em64t build?
 
 One second look, this seems to be a different problem.  It looks like I
 accidentally hardcode ia32 - but since that's all that we really support
 at the moment then I'm not that sorry.
 
 The wider issue is that for historical reasons the awt build still uses
 ia32 and ipf where as it should probably be fixed to use the hy.arch
 defines of x86 and x86_64 (and ia64 if necessary but we don't really
 cover that yet anyway).
 
 Patches welcome or I'll try to take a look in the next day or so.

I've checked in a quick hack (r452910) that should workaround the
problem until we resolve the wider issue with the inconsistent
architecture variables.

Let me know how you get on with the x86_64 building.  (It fails for me 
with a compiler/binutils bug sadly.)

Regards,
 Mark.



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [classlib][depends] missing liblcms +em64t

2006-10-04 Thread Geir Magnusson Jr.



Mark Hindess wrote:

On 4 October 2006 at 18:26, Ivan Volosyuk [EMAIL PROTECTED] wrote:

Working on a patch, I've just wanted to check wether it works on em64t.
It is not that easy as I expected. Yesterday, I have filed
HARMONY-1676 to have classlib built.
Today, I have:

Missing dependency.  The file from:
  /usr/lib/liblcms.a
should be linked to:
  depends/libs/build/lcms/liblcms.ia32

But /usr/lib/liblcms.a doesn't exist.
liblcms development package not installed
For Debian/Ubuntu try: apt-get install liblcms1-dev


First of all, why 'ia32' prefix for em64t build?


One second look, this seems to be a different problem.  It looks like I
accidentally hardcode ia32 - but since that's all that we really support
at the moment then I'm not that sorry.

The wider issue is that for historical reasons the awt build still uses
ia32 and ipf where as it should probably be fixed to use the hy.arch
defines of x86 and x86_64 (and ia64 if necessary but we don't really
cover that yet anyway).


+1



Patches welcome or I'll try to take a look in the next day or so.

Regards,
 Mark.



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]