Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find ftlib.h durning configure ft2nfdump #493

Closed
MaxFlaskA opened this issue Dec 18, 2023 · 2 comments
Closed

Can't find ftlib.h durning configure ft2nfdump #493

MaxFlaskA opened this issue Dec 18, 2023 · 2 comments
Labels

Comments

@MaxFlaskA
Copy link

Hi, I've tried to install nfdump with ft2nfdump converter
I am using Fedora Workstation 39 and have flow-tools installed
sudo dnf install flow-tools flow-tools-devel
However using ./configure --enable-ftconv doesn't work and it can't find bins for flow tools
configure: error: flow-tools directory '/usr/local/flow-tools/' does not exists. Use --with-ftpath=PATH
This folder doesn't exist and it seams ft is installed in usr/share

flaska@flaskaspire:~/Git/nfdump$ whereis flow-tools
flow-tools: /etc/flow-tools /usr/share/flow-tools /usr/share/man/man1/flow-tools.1.gz

I've tried to configure with this path but no luck

sudo ./configure --enable-ftconv --with-ftpath='/usr/share/flow-tools'
configure: error: ftlib.h file not found in flow-tools directory '/usr/share/flow-tools'. Use --with-ftpath=PATH

However ftlib.h is not there. System search shows it located in /usr/include/ftlib.h
Using path "/usr/include" can't find the ftlib.h either even that it is there
Copying ftlib.h to usr/shre/flow-tools doesn't help either because it still can't find the lib for some reason

flaska@flaskaspire:~/Git/nfdump$ sudo cp /usr/include/ftlib.h /usr/share/flow-tools/ftlib.h
configure: error: ftlib.h file not found in flow-tools directory '/usr/share/flow-tools'. Use --with-ftpath=PATH
flaska@flaskaspire:~/Git/nfdump$ ls /usr/share/flow-tools/
asn2c  ftlib.h  gasn  gprot  gserv

For some reason it still ignores the ftlib.h. I don't know how to build ft2nfdump converter, I know this isn't the issue with configure file exactly but maybe you can give advice

@phaag phaag added the question label Dec 20, 2023
@phaag
Copy link
Owner

phaag commented Dec 20, 2023

Have you tried --with-ftpath=/usr ?
This path should contain the include and lib directory withe the appropriate files.

@phaag
Copy link
Owner

phaag commented Dec 31, 2023

If there are further issues or remarks, feel free to reopen this issue.

@phaag phaag closed this as completed Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants