crayzeewulf / libserial

Serial Port Programming in C++
BSD 3-Clause "New" or "Revised" License
398 stars 141 forks source link

no configure #53

Closed ragier closed 9 years ago

ragier commented 9 years ago

configure script isn't generate

crayzeewulf commented 9 years ago

Could you please provide more information such as:

crayzeewulf commented 9 years ago

RAtechntukan, could you please try again using the latest version in git and let me know if it solves your problem? The issue could have been a missing README file. But if it still does not work, please answer my questions from the previous comment.

tdack commented 9 years ago

I had the same problem after grabbing master from git.

I had to do the following:

Then make -f Makefile.dist before running ./configure

It also looks like libserial depends on part of the boost libraries

Radioguy00 commented 9 years ago

I previously installed this library from SourceForge on a different machine and I did not have any problem. It looks like now the configure script has disappeared from the list of files under git version control? The front page instructions say to call ./configure. Is there any missing instructions.

crayzeewulf commented 9 years ago

All good points. The configure script has never been under revision control because it is generated by GNU autotools. When the library code was distributed on SourceForce, the tarball was created by running make dist. This bundles the auto-generated configure script in the tar.gz file it creates. As expected, the code in the git repository does not have the configure script either. I have updated the top-level README.md file to indicate that you will have to run make -f Makefile.dist in order to generate the configure script. This is similar to running autogen.sh scripts that are sometimes provided by other packages (for example, see google/protobuf).