CPPSERV


Home Projects Jobs Clientele Contact

cppserv


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing endif on compiling



No, it didn't help, after trying that I had to add the include path of
boost in TOP_CPPFLAGS


Il giorno mer, 18/10/2006 alle 10.47 -0700, Ilya A. Volynets-Evenbakh ha
scritto:
> So, setting CPPFLAGS on command line didn't help?
> 
> Vania CIlli wrote:
> > Ok, I have been able to compile it succesfully. I finally managed with
> > the LEX=flex++ and adding my boost path to TOP_CPPFLAGS in Makefile.adon
> > (whatever it is).
> >
> > Thanks for your help.
> >
> > Vania
> >
> > Il giorno mer, 18/10/2006 alle 08.49 -0700, Ilya A. Volynets-Evenbakh ha
> > scritto:
> >   
> >> make LEX=flex++ CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/install
> >> (I'm presuming /usr/local/install contains actual libraries)
> >>
> >> Vania CIlli wrote:
> >>     
> >>> Hi,
> >>> the LEX=flex++ trick work,
> >>>
> >>> now it stops on boost. I do have boost 1_31_1 installed
> >>> in /usr/local/include and /usr/local/install, is there a way with ADON
> >>> to specify where boost is on my machine?
> >>>
> >>> Vania 
> >>>
> >>> Il giorno mer, 18/10/2006 alle 08.08 -0700, Ilya A. Volynets-Evenbakh ha
> >>> scritto: 
> >>>   
> >>>       
> >>>> OK. I have flex 2.5.33, which explains missing -+ option in your
> >>>> version. I'll put real fix in 0.1.95, but for now, running
> >>>> make LEX=flex++ should probably fix your problems.
> >>>>
> >>>> Vania CIlli wrote:
> >>>>     
> >>>>         
> >>>>> Hi,
> >>>>>
> >>>>> I've flex version 2.5.31, flex++ has the same version of flex (probably
> >>>>> it's the same executable).
> >>>>>
> >>>>> Vania
> >>>>>  
> >>>>> Il giorno mar, 17/10/2006 alle 09.35 -0700, Ilya A. Volynets-Evenbakh ha
> >>>>> scritto:
> >>>>>   
> >>>>>       
> >>>>>           
> >>>>>> Also, do you have a program flex++ ?
> >>>>>>
> >>>>>> Ilya A. Volynets-Evenbakh wrote:
> >>>>>>     
> >>>>>>         
> >>>>>>             
> >>>>>>> Aha. Which flex version do you have
> >>>>>>> run
> >>>>>>> lex --version
> >>>>>>>
> >>>>>>>
> >>>>>>> Vania CIlli wrote:
> >>>>>>>   
> >>>>>>>       
> >>>>>>>           
> >>>>>>>               
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> the last lines of output with ADON_VERBOSE=1 are:
> >>>>>>>>
> >>>>>>>> rules.mk:378: debug/./src/container/cthreadpool.cpp.dep: No such file or
> >>>>>>>> directory
> >>>>>>>> rules.mk:378: debug/./src/container/requestlistener.cpp.dep: No such
> >>>>>>>> file or directory
> >>>>>>>> rules.mk:378: debug/./src/container/App.cpp.dep: No such file or
> >>>>>>>> directory
> >>>>>>>> rules.mk:378: debug/./src/cxxsp/parser/cxxsp_compile.cpp.dep: No such
> >>>>>>>> file or directory
> >>>>>>>> rules.mk:378: debug/./src/cxxsp/parser/dso_code.cpp.dep: No such file or
> >>>>>>>> directory
> >>>>>>>> rules.mk:378: debug/./src/cxxsp/parser/generator_manager.cpp.dep: No
> >>>>>>>> such file or directory
> >>>>>>>> rules.mk:378: debug/./src/cxxsp/parser/generator.cpp.dep: No such file
> >>>>>>>> or directory
> >>>>>>>> rules.mk:378: debug/./src/cxxsp/parser/lexer.cpp.dep: No such file or
> >>>>>>>> directory
> >>>>>>>> rules.mk:378: debug/./src/cxxsp/parser/parser.cpp.dep: No such file or
> >>>>>>>> directoryrules.mk:378: debug/./src/cxxsp/parser/csplex.cpp.dep: No such
> >>>>>>>> file or directorylex -+ -osrc/cxxsp/parser/csplex.cpp
> >>>>>>>> src/cxxsp/parser/csplex.l
> >>>>>>>> flex: Can't use -+ with -l option
> >>>>>>>> make[1]: *** [src/cxxsp/parser/csplex.cpp] Error 1
> >>>>>>>> make[1]: Leaving directory `/home/vania/progetti/cppserv-0.1.94'
> >>>>>>>> make: *** [all] Error 2
> >>>>>>>>
> >>>>>>>> Time to go home in my time zone. 
> >>>>>>>> Bye
> >>>>>>>>
> >>>>>>>> Il giorno mar, 17/10/2006 alle 09.15 -0700, Ilya A. Volynets-Evenbakh ha
> >>>>>>>> scritto:
> >>>>>>>>   
> >>>>>>>>     
> >>>>>>>>         
> >>>>>>>>             
> >>>>>>>>                 
> >>>>>>>>> Ah.. So it isn't out of memory error for you.
> >>>>>>>>>
> >>>>>>>>> By the way - "Missing ...dep" is not an error - I just still didn't
> >>>>>>>>> find a nice way to cause make to do dep tracking silently for me.
> >>>>>>>>> (Not the top priority for now).
> >>>>>>>>>
> >>>>>>>>> Now, can you run
> >>>>>>>>> make ADON_VERBOSE=1
> >>>>>>>>> and give me last 10-15 lines of output?
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Vania CIlli wrote:
> >>>>>>>>>     
> >>>>>>>>>       
> >>>>>>>>>           
> >>>>>>>>>               
> >>>>>>>>>                   
> >>>>>>>>>> Hi,
> >>>>>>>>>>
> >>>>>>>>>> the build fails in a 1 second/1 seconds and half, so it's nearly
> >>>>>>>>>> impossible to capture the usage of make, anyway the general free memory
> >>>>>>>>>> moved very little during the process. A thing I didn't noticed before
> >>>>>>>>>> was that in addition of the various "no such file or directory" for the
> >>>>>>>>>> *.dep there is a final halting error that is:
> >>>>>>>>>>
> >>>>>>>>>> Compiling src/cxxsp/parser/csplex.l
> >>>>>>>>>> flex: Can't use -+ with -l option
> >>>>>>>>>> make[1]: *** [src/cxxsp/parser/csplex.cpp] Error 1
> >>>>>>>>>> make[1]: Leaving directory `/home/vania/progetti/cppserv-0.1.94'
> >>>>>>>>>> make: *** [all] Error 2
> >>>>>>>>>>
> >>>>>>>>>> Thanks
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Il giorno mar, 17/10/2006 alle 08.36 -0700, Ilya A. Volynets-Evenbakh ha
> >>>>>>>>>> scritto:
> >>>>>>>>>>   
> >>>>>>>>>>       
> >>>>>>>>>>         
> >>>>>>>>>>             
> >>>>>>>>>>                 
> >>>>>>>>>>                     
> >>>>>>>>>>> Can you try to run top and watch memory usage of "make" command?
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Vania CIlli wrote:
> >>>>>>>>>>>     
> >>>>>>>>>>>         
> >>>>>>>>>>>           
> >>>>>>>>>>>               
> >>>>>>>>>>>                   
> >>>>>>>>>>>                       
> >>>>>>>>>>>> Hi, I've the same problems of Noniko on SUSE 10.1. I do have flex
> >>>>>>>>>>>> installed (vers. 2.5.31) and all the usual developers tools. My machine
> >>>>>>>>>>>> has 1 Gigabyte of RAM, swap is enabled and i've 1.62 gigabytes of it. I
> >>>>>>>>>>>> dont't think it's a memory problem because memory comsuption doesn't
> >>>>>>>>>>>> increase significantly during compilation
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> ulimit -a gives me:
> >>>>>>>>>>>>
> >>>>>>>>>>>> core file size          (blocks, -c) 0
> >>>>>>>>>>>> data seg size           (kbytes, -d) unlimited
> >>>>>>>>>>>> file size               (blocks, -f) unlimited
> >>>>>>>>>>>> pending signals                 (-i) 8189
> >>>>>>>>>>>> max locked memory       (kbytes, -l) 32
> >>>>>>>>>>>> max memory size         (kbytes, -m) unlimited
> >>>>>>>>>>>> open files                      (-n) 1024
> >>>>>>>>>>>> pipe size            (512 bytes, -p) 8
> >>>>>>>>>>>> POSIX message queues     (bytes, -q) 819200
> >>>>>>>>>>>> stack size              (kbytes, -s) 8192
> >>>>>>>>>>>> cpu time               (seconds, -t) unlimited
> >>>>>>>>>>>> max user processes              (-u) 8189
> >>>>>>>>>>>> virtual memory          (kbytes, -v) unlimited
> >>>>>>>>>>>> file locks                      (-x) unlimited
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> Bye
> >>>>>>>>>>>>
> >>>>>>>>>>>> Il giorno mar, 17/10/2006 alle 07.51 -0700, Ilya A. Volynets-Evenbakh ha
> >>>>>>>>>>>> scritto:
> >>>>>>>>>>>>   
> >>>>>>>>>>>>       
> >>>>>>>>>>>>           
> >>>>>>>>>>>>             
> >>>>>>>>>>>>                 
> >>>>>>>>>>>>                     
> >>>>>>>>>>>>                         
> >>>>>>>>>>>>> You need to install flex package. I guess I should add it to
> >>>>>>>>>>>>> dependencies now.
> >>>>>>>>>>>>> My own distro of preference for development is Gentoo, as it always has
> >>>>>>>>>>>>> all relevant development tools, headers, etc.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> As for SuSE problem.
> >>>>>>>>>>>>> 1. How much RAM do you have.
> >>>>>>>>>>>>> 2. Do you have swap enabled, if yes, how much
> >>>>>>>>>>>>> 3. Please give me output of ulimit -a
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Although, I have to say that build process should not take that much
> >>>>>>>>>>>>> RAM, there are some interesting things done in there, that might run
> >>>>>>>>>>>>> amok.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> noniko wrote:
> >>>>>>>>>>>>>     
> >>>>>>>>>>>>>         
> >>>>>>>>>>>>>             
> >>>>>>>>>>>>>               
> >>>>>>>>>>>>>                   
> >>>>>>>>>>>>>                       
> >>>>>>>>>>>>>                           
> >>>>>>>>>>>>>> Hi, additional and sad report...
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I tried make in "Mandriva 2007". The result was a bit different, but
> >>>>>>>>>>>>>> similar.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> make -f Makefile.real all
> >>>>>>>>>>>>>> make[1]: Entering directory `/home/noniko/source/cppserv-0.1.94'
> >>>>>>>>>>>>>> env-tests/env-tests.mk:17: debug/env-tests/_W.cache: No such file or
> >>>>>>>>>>>>>> directory
> >>>>>>>>>>>>>> env-tests/env-tests.mk:17: debug/env-tests/_Wall.cache: No such file or
> >>>>>>>>>>>>>> directory
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> .....
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>  rules.mk:410: debug/./src/cxxsp/parser/parser.cpp.dep: No such file or
> >>>>>>>>>>>>>> directory
> >>>>>>>>>>>>>>  rules.mk:410: debug/./src/cxxsp/parser/csplex.cpp.dep: No such file or
> >>>>>>>>>>>>>> directory
> >>>>>>>>>>>>>>  Compiling src/cxxsp/parser/csplex.l
> >>>>>>>>>>>>>>  make[1]: lex: Command not found
> >>>>>>>>>>>>>>  make[1]: *** [src/cxxsp/parser/csplex.cpp] Error 127
> >>>>>>>>>>>>>>  make[1]: Leaving directory `/home/noniko/source/cppserv-0.1.94'
> >>>>>>>>>>>>>>  make: *** [all] Error 2
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I have more to add.
> >>>>>>>>>>>>>> After failing make, a "debug" folder has been made, but in it there is
> >>>>>>>>>>>>>> only a blank "log" file.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>   
> >>>>>>>>>>>>>>       
> >>>>>>>>>>>>>>           
> >>>>>>>>>>>>>>               
> >>>>>>>>>>>>>>                 
> >>>>>>>>>>>>>>                     
> >>>>>>>>>>>>>>                         
> >>>>>>>>>>>>>>                             
> >>>>>>>>>>>>   
> >>>>>>>>>>>>       
> >>>>>>>>>>>>           
> >>>>>>>>>>>>             
> >>>>>>>>>>>>                 
> >>>>>>>>>>>>                     
> >>>>>>>>>>>>                         
> >>>>>>>>>>   
> >>>>>>>>>>       
> >>>>>>>>>>         
> >>>>>>>>>>             
> >>>>>>>>>>                 
> >>>>>>>>>>                     
> >>>>>>>>   
> >>>>>>>>     
> >>>>>>>>         
> >>>>>>>>             
> >>>>>>>>                 
> >>>>>>>   
> >>>>>>>       
> >>>>>>>           
> >>>>>>>               
> >>>>>   
> >>>>>       
> >>>>>           
> >>>   
> >>>       
> >
> >   
> 


Authoright © Total Knowledge: 2001-2008