Re: package org.slf4j does not exist
The upstream build uses Ant and it probably redefines its own classpath
during the build, and ignore the CLASSPATH environment variable.
Can you provide a link to your package sources?
Ludovic
On 07/09/2011 20:05, Mathieu Malaterre wrote:
> Dear all,
>
> I am currently stuck on the following issue, I cannot get
> debian/rules in shape to pass CLASSPATH info. Here is the current
> status of my debian/rules file:
>
> http://anonscm.debian.org/viewvc/debian-med/trunk/packages/bio-formats/trunk/debian/rules?view=markup
>
> However during compilation it keeps on failing with:
>
> compile:
> [javac] Compiling 44 source files to
> /home/mathieu/debian/debian-med/trunk/packages/bio-formats/trunk/bio-formats-4.3.1/components/common/build/classes
> [javac] /home/mathieu/debian/debian-med/trunk/packages/bio-formats/trunk/bio-formats-4.3.1/components/common/build/src/loci/common/CBZip2InputStream.java:52:
> package org.slf4j does not exist
> [javac] import org.slf4j.Logger;
> [javac] ^
> [javac] /home/mathieu/debian/debian-med/trunk/packages/bio-formats/trunk/bio-formats-4.3.1/components/common/build/src/loci/common/CBZip2InputStream.java:53:
> package org.slf4j does not exist
> [javac] import org.slf4j.LoggerFactory;
> [javac] ^
> ...
>
> The strangest thing is that the following does provide org.slf4j.Logger:
>
> $ CLASSPATH=/usr/share/java/slf4j-api.jar javac
> bio-formats/trunk/bio-formats-4.3.1/components/common/build/src/loci/common/CBZip2InputStream.java
>
> This is not an installation issue. Is there some kind of conflicts
> with CLASSPATH I should be aware of ?
>
> Thanks much !
Reply to: