|
Compiling Bfilter v.1.10
|
|
Dec. 14, 2005, 03:02 PM
Post: #1
|
|||
|
|||
|
Compiling Bfilter v.1.10
Hi Guys,
Just working through the Bfilter install and when i use the ./configure command it comes up with Checking ace/ACE.h usability.....no Checking ace/ACE.h presence.....no Configure: error ACE Headers not found. I have ACE version 5.4 on there which i installed from the /usr/ports/devel/ace folder and it completed ok. Can anyone offer any help as to what the problem might be Thanks Bod0! |
|||
|
Dec. 14, 2005, 05:15 PM
Post: #2
|
|||
|
|||
|
Probably the port installes ACE headers somewhere where the compiler can't find them. For example, if ACE headers are installed to /usr/local/include/ace, you have to tell the compiler about /usr/local/include like this:
./configure CPPFLAGS="-I/usr/local/include" Note that we specify /usr/local/include rather than /usr/local/include/ace, as we reference ACE headers as <ace/header.h> rather than just <header.h>. You may also have to tell the compiler about the lib directory: LDFLAGS="-L/usr/local/lib" |
|||
|
Dec. 15, 2005, 09:32 AM
Post: #3
|
|||
|
|||
|
Ref: Compiling
Hi Jart,
Thanks for the info it found the ace file no problem after using that, howerver i have now come across the error package sigc++-2.0 was not found, is this a required package and where can i get it from? It also came up with gnome-config: not found Do i need to be running gnome to use the software, i didnt want to complie X windows on the box if possible thanks in advance Bod0 |
|||
|
Dec. 15, 2005, 10:21 AM
Post: #4
|
|||
|
|||
|
sigc++ is required even for command-line builds. This library has nothing to do with X, except that it was originally developed for gtkmm (the c++ binding for gtk).
sigc++ was required even for 0.9.4, but then it was sigc++-1.2, and now it's 2.0. It should be in ports anyway. |
|||
|
Dec. 15, 2005, 10:24 AM
Post: #5
|
|||
|
|||
|
ref sigc++
Thanks jart will try that now
bod0 |
|||
|
Dec. 15, 2005, 11:32 AM
Post: #6
|
|||
|
|||
|
stop error
Hi Jart,
god this installs been chewy, i have now come across a stop error in the make file. It seems to be in the ErrorReponse.cpp located in the main dir. There are multiple errors from line 46 - 210 alot of them say something along the lines of ErrorResponsee.cpp:line: error: expected "expression" before "m" The last error before the stop error is ErrorResponsee.cpp:210: error: "m" undeclared (first use this function) Any Help would be very much appreciated Bod0! |
|||
|
Dec. 15, 2005, 12:16 PM
Post: #7
|
|||
|
|||
|
My guess is that main/errors/ERR_*.inc files, that are generated at compile-time, are empty or damaged.
They must look like this: { "str1", "str2", 0 }; Try compiling with gmake instead of make. That might help. |
|||
|
Dec. 15, 2005, 12:44 PM
Post: #8
|
|||
|
|||
|
gmake install
Hi Jart,
Sorry to be a pain, Tried gmake gave me a bit more output this time says that the ERR *.inc files cannot be found Error code ErrorResponse.cpp:line: error: ERR_.*.inc: No such file or directory and then the same "m" undeclared error I have been into the main/errors dir and can only see HTML files Does it matter where the Bfilter root folder is? Once again any help is appreciated Bod0 |
|||
|
Dec. 15, 2005, 01:02 PM
Post: #9
|
|||
|
|||
|
.inc files
Hi Jart,
I have a guess and recreated the files as per your code instrustion and touch wood it seems to be making ok now so i will see how it goes thanks for your help so far bod0 |
|||
|
Dec. 15, 2005, 01:07 PM
Post: #10
|
|||
|
|||
|
The root directory of bfilter doesn't matter. Out-of-tree builds are supported as well.
I need the full make output. Save it like this: gmake 2>&1 > make.txt |
|||
|
Dec. 15, 2005, 01:27 PM
Post: #11
|
|||
|
|||
|
another stop error
Hi Jart,
I have sucessfully made the package after i had palce the .inc files in the right directory, However my new problem comes when i try to make install the package It comes up with a stop error in bfilter/conf -f " //usr/local/etc/bfilter/rules" -f:No such file or directory ***Error code 1 Any thoughts Thanks |
|||
|
Dec. 15, 2005, 01:42 PM
Post: #12
|
|||
|
|||
|
I think I see the problem. If I am right, gmake should solve it. Anyway, I'll fix it in the next release.
I still want the make output that caused problems with .inc files. Then I'll hopefully fix both of these problems. |
|||
|
Dec. 15, 2005, 01:45 PM
Post: #13
|
|||
|
|||
|
Gmake
Hi Jart,
how can i make the gmake output? I tired the method you described and it said Ambiguous output redirect Any Ideas? Will i be able to install v10 then or will i have to wait for you to fix the problems? Once again thanks for your help |
|||
|
Dec. 15, 2005, 01:55 PM
Post: #14
|
|||
|
|||
|
Running something other than bash? Probably only bash understands that syntax.
Well, I am not a shell guru, and I don't know how to glue stdout and stderr in other shells. If you don't know it either, then give me two files. One for stdout: gmake > stdout.txt And another for stderr: gmake 2> stderr.txt I'll post a beta version as soon as I solve the problems. |
|||
|
Dec. 15, 2005, 02:07 PM
Post: #15
|
|||
|
|||
|
another stop error
Hi Jart,
I have sucessfully made the package after i had palce the .inc files in the right directory, However my new problem comes when i try to make install the package It comes up with a stop error in bfilter/conf -f " //usr/local/etc/bfilter/rules" -f:No such file or directory ***Error code 1 Any thoughts Thanks |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help



![[-]](images/ONi/collapse.gif)

