2007/7/17, alexandre mattart <[EMAIL PROTECTED]>:

 Thanks for the help

the error message is:
----------------------------------

Buildfile: build.xml
     [echo] java.home is /usr/java/jdk1.5.0_12/jre and the target version
is 1.5

clean:
   [delete] Deleting directory /opt/red5/bin
   [delete] Deleting directory /opt/red5/dist

prepare:
    [mkdir] Created dir: /opt/red5/bin
    [mkdir] Created dir: /opt/red5/dist
    [mkdir] Created dir: /opt/red5/bin/testcases
    [mkdir] Created dir: /opt/red5/bin/testcases/testreports

-java6.check:

-junit.check:

compile:
     [echo] Javac version: 1.5
     [echo] Compiler adapter name: modern
     [echo] java.home is /usr/java/jdk1.5.0_12/jre and the target version
is 1.5

compile_core:
     [echo] java.home is /usr/java/jdk1.5.0_12/jre and the target version
is 1.5

compile_core_compatibility:
    [javac] Compiling 407 source files to /opt/red5/bin
    [javac] Error occurred during initialization of VM
    [javac] Could not reserve enough space for object heap
    [javac] Could not create the Java virtual machine.


heu,... well,... It looks like you were right :p
can't you free some memory (eg by stopping some processes, or/and with
memtest from the sysutils package) before launching compilation


BUILD FAILED
/opt/red5/build.xml:128: The following error occurred while executing this
line:
/opt/red5/build.xml:146: Compile failed; see the compiler error output for
detail

-----------------------------------------------------------------

If I look at my virtuozzo panel for my vps it says that it killed a
process at the same time I tried to compile, because "the hard limit was
reached and the ressource allocation war refused or some process overusing
the ressource was killed". It's why I think it's because the lack of memory
for the compilation.

I may be wrong.

Is it hard to build an rpm, any link for the procedure?

Thanks

Alex

-----Original Message-----
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of *Alexandre Chapellon
*Sent:* mardi, 17. juillet 2007 15:23
*To:* [email protected]
*Subject:* Re: [Red5] Problems compiling red5



2007/7/17, alexandre mattart <[EMAIL PROTECTED]>:
>
> Hi,
>
> I'm new to red5 and Linux, I have Installed red5 on windows and it works
> fine.
>
> Now, I'm trying to install it under linux, the java jdk install went
> fine,
> the ant Install went fine, but The compilation of red5 stop.


What is the error message you get?

I have figured that that the compilation stop because there is not enough
> memory allocated for the java virtual machine.


It seems very improbable to me!
 It's more likely a dependancy problem... send the error message...

I'm on a vps (virtual private
> server) with 256mb of memory. I could get more memory, but right now,
> its
> only for testing and a vps with more memory is a lot more expensive.
>
> The question which will be trivial for linux user, but not for me a
> beginner
> with linux. If I compile Red5 on one other computer with the same os
> (SUSE),
> java sdk, ant,... Will I be able to transfer the compiled files, which I
> supposed will be in the red5 folder to my vps and run it. And start the
> red5
> server?



It should be ok if you can build an rpm for your distrib, be it's
certainly much more harder than getting it to work on your vps.


Thanks for any feddback
>
> Alex
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to