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

Code fails to build if you use a separate build dir to run configure and make. #27

Closed
johndickinson opened this issue May 7, 2014 · 11 comments

Comments

@johndickinson
Copy link
Contributor

Tested on FreeBSD 10-RELEASE-p1

I am guessing there are fixed paths in a Makefile.in????

ngoyal pushed a commit that referenced this issue May 9, 2014
@ngoyal
Copy link
Contributor

ngoyal commented May 9, 2014

This should be addressed now.

@johndickinson
Copy link
Contributor Author

On FreeBSD 10-RELEASE-p2 configure runs but make fails

[jad@custard /usr/home/jad/Development/getdns/build]$ make
cd ../src && make default
make[1]: don't know how to make default. Stop

make[1]: stopped in /usr/home/jad/Development/getdns/src
*** Error code 2

Stop.
make: stopped in /usr/home/jad/Development/getdns/build

@ngoyal
Copy link
Contributor

ngoyal commented May 12, 2014

Can you please post the full paths of where you have untarred the files, ran configure, and where you are running make from? Thanks!

@johndickinson
Copy link
Contributor Author

git clone https://johndickinson@github.com/johndickinson/getdns.git
cd getdns
mkdir build
cd build/
../configure
make

@ngoyal
Copy link
Contributor

ngoyal commented May 12, 2014

Thanks for the info. I can run it like this fine on my Mac, so I will need to get a BSD image up to debug. The command cd ../src && make default should be correct though if you are in getdns/build though.

@wtoorop
Copy link
Contributor

wtoorop commented May 20, 2014

I think I've fixed this with recent commits c28e6f4...57b51a5
Could you confirm

@johndickinson
Copy link
Contributor Author

works for me FreeBSD 10.0-RELEASE-p2

@johndickinson
Copy link
Contributor Author

make install is still faulty

[jad@custard /usr/home/jad/Development/getdns/build]$ make install
cd src && make default
/usr/bin/install -c -m 755 -d /home/jad/getdns/share/doc/getdns
/usr/bin/install -c -m 644 AUTHORS /home/jad/getdns/share/doc/getdns
install: AUTHORS: No such file or directory
*** Error code 71

Stop.
make: stopped in /usr/home/jad/Development/getdns/build

@wtoorop
Copy link
Contributor

wtoorop commented May 21, 2014

Thanks John, recent commits 6262e3d...26faaa6 should fix this.
Can you confirm this works?

@johndickinson
Copy link
Contributor Author

Seems to work fine now - thanks

@wtoorop
Copy link
Contributor

wtoorop commented Jun 30, 2014

It works, so close

@wtoorop wtoorop closed this as completed Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants