modbus.h is not installed at prefix.

Bug #191039 reported by Todd Denniston
2
Affects Status Importance Assigned to Milestone
libmodbus
Fix Released
Medium
Stéphane Raimbault

Bug Description

tar -xzvf ../libmodbus-1.2.3.tar.gz
cd libmodbus-1.2.3/
./configure --prefix=`pwd`/testinst
mkdir testinst
make
make install
ls -ltrhR testinst

And modbus.h has not been placed into the installed tree.

This could make it difficult to compile against the library.

I would expect the h file to be in $prefix/include.

Revision history for this message
Stéphane Raimbault (sra) wrote :

Thank you for your bug report, modbus.h is now installed in $prefix/include/libmodbus/
Are you agree with this path?

Changed in libmodbus:
assignee: nobody → sra
importance: Undecided → Medium
milestone: none → 1.2.4
status: New → Fix Committed
milestone: 1.2.3 → 1.2.4
Revision history for this message
Todd Denniston (todd-denniston) wrote :

I would have preferred $prefix/include/ however, I can work with $prefix/include/libmodbus/.
having now used 1.2.4 I consider this fixed.
Thanks.

Revision history for this message
Stéphane Raimbault (sra) wrote : Re: [Bug 191039] Re: modbus.h is not installed at prefix.

Finally, the file is into /usr/local/include/modbus !

Changed in libmodbus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.