The Un-Official Proxomitron Forum
Compiling Bfilter v.1.10 - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Archive (/forumdisplay.php?fid=50)
+---- Forum: BFilter (/forumdisplay.php?fid=41)
+----- Forum: Issues with BFilter (/forumdisplay.php?fid=32)
+----- Thread: Compiling Bfilter v.1.10 (/showthread.php?tid=688)

Pages: 1 2


Compiling Bfilter v.1.10 - Bod0 - Dec. 14, 2005 03:02 PM

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!


- jart - Dec. 14, 2005 05:15 PM

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"


Ref: Compiling - bod0 - Dec. 15, 2005 09:32 AM

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


- jart - Dec. 15, 2005 10:21 AM

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.


ref sigc++ - bod0 - Dec. 15, 2005 10:24 AM

Thanks jart will try that now

bod0


stop error - bod0 - Dec. 15, 2005 11:32 AM

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!


- jart - Dec. 15, 2005 12:16 PM

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.


gmake install - bod0 - Dec. 15, 2005 12:44 PM

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


.inc files - bod0 - Dec. 15, 2005 01:02 PM

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


- jart - Dec. 15, 2005 01:07 PM

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


another stop error - bod0 - Dec. 15, 2005 01:27 PM

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


- jart - Dec. 15, 2005 01:42 PM

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.


Gmake - bod0 - Dec. 15, 2005 01:45 PM

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


- jart - Dec. 15, 2005 01:55 PM

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.


another stop error - bod0 - Dec. 15, 2005 02:07 PM

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