1 (edited by Rule 2009-04-21 23:34:29)

Topic: Debian Lenny 5.0 compile problem solved !

Hi!

I have a problem with bam,
I have installed gcc and python 2.5
but after i type "../bam-0.2.0/src/bam server_release" come this:

--- Auto Configuration ---
[string "src/base.bam"]:597: no c/c++ compiler found
stack traceback:
  [string "src/base.bam"](597): Check method
    option = {...}
    settings = {...}
  [string "src/base.bam"](508): Autodetect method
    self = {...}
    (for generator) = 0x9d84a00 (function (6))
    (for state) = {...}
    (for control) = 1.000000
    k = 1.000000
    v = {...}
  [string "src/base.bam"](523): Finalize method
    self = {...}
    filename = 'config.bam'
  default.bam(11): (null)
bam: error during build

when i type "../bam-0.2.0/src/bam -c all" or "../bam-0.2.0/src/bam server_debug" comes the same problem!

By compiling BAM i get this warning:

/tmp/cce6arXF.o: In function `os_tmpname':
loslib.c:(.text+0x3e): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

Please help, i have testet debian etch too, but the same problem...

Pls don't post the link to the compiling guide, my opinion to this guide is, it's very small and don't say all steps!

greez


//EDIT: problem solved, i install g++ too and now the server is compiled