Re: BUILDING PROBLEM IN CCM-CORE AND CCM-CMS FILES

"Daniel P. Berrange" <[email protected]> Tue, 10 Aug 2004 14:06:13 +0100
Newsgroups gmane.linux.redhat.ccm.general
Message-ID <[email protected]>
On Tue, Aug 10, 2004 at 06:33:30PM +0530, Srinivas S. Naik wrote:
> 
> Hi,
> 
> I m facing the comilation error during building the source of 
> CCM-CORE AND CCM-CMS files.  First time I m using these files 
> for development purpose.  I have pasted the compilation errors
>  down.  Any body could help me out in getting the package of 
> oracle.sql.BLOB.  Your feedback is greately appreciated.

Even though CCM runs oneither Oracle or PostgreSQL, you still
need to have Oracle client installed to *build* CCM-Core
irrespective of what you'll be eventually running on. Thank
the good folk at Sun for forgetting about conditional compilation
or source pre-processors when creating javac, for this 
inconvenience.

In fact, its probably sufficient to create a directory 
/opt/oracle/9.2.0.1.0/jdbc/libs & place a classess12.zip
there & set ORACLEHOME to /opt/oracle/9.2.0.1.0 rather
than installing the entire client libs.

Dan.
> 
> 
> 
> 
>  [copy] Copying 1 file to /var/ccm-devel/dev/eolha/ccm-ldn-aplaws/core/build/classes
>     [javac] Compiling 1601 source files to /var/ccm-devel/dev/eolha/ccm-ldn-aplaws/core/build/classes
>     [javac] /var/ccm-devel/dev/eolha/ccm-ldn-aplaws/core/src/com/redhat/persistence/pdl/adapters/BlobAd.java:74: package oracle.sql does not exist
>     [javac]         oracle.sql.BLOB blob =
>     [javac]                   ^
>     [javac] /var/ccm-devel/dev/eolha/ccm-ldn-aplaws/core/src/com/redhat/persistence/pdl/adapters/BlobAd.java:75: package oracle.sql does not exist
>     [javac]             (oracle.sql.BLOB) rs.getBlob(column);
>     [javac]                        ^
>     [javac] /var/ccm-devel/dev/eolha/ccm-ldn-aplaws/core/src/com/redhat/persistence/pdl/adapters/StringAd.java:74: package oracle.sql does not exist
>     [javac]         oracle.sql.CLOB clob =
>     [javac]                   ^
>     [javac] /var/ccm-devel/dev/eolha/ccm-ldn-aplaws/core/src/com/redhat/persistence/pdl/adapters/StringAd.java:75: package oracle.sql does not exist
>     [javac]             (oracle.sql.CLOB) rs.getClob(column);
>     [javac]                        ^
> 
> Thanks in advance.
> 
> Srini

> -- 
> Redhat-ccm-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/redhat-ccm-list
> Archives: https://www.redhat.com/pipermail/redhat-ccm-list/


-- 
|=-   Red Hat, 338 Euston Road, London, NW1 3BT.  +44 (0)7977 267 243   -=|
|=-         Perl modules: http://search.cpan.org/~danberr/              -=|
|=-             Projects: http://freshmeat.net/~danielpb/               -=|
|=- GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBGMhDs9/3Qn07lQURAqLGAJ0Y7Bu9n5KKf2sXkGsu8UvuIDuqdACfWkkU
pXfX7e+/D8grbGhCeEkX0yo=
=z7eD
-----END PGP SIGNATURE-----