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 build on Linux #1

Open
laruence opened this issue Dec 7, 2011 · 12 comments
Open

Can't build on Linux #1

laruence opened this issue Dec 7, 2011 · 12 comments

Comments

@laruence
Copy link

laruence commented Dec 7, 2011

Hi:
here is the problem:

$ aclocal
configure.ac:26: file `m4/version.m4' does not exist

$ autoconf
**m4:configure.ac:26: cannot open `m4/version.m4': No such file or directory
autom4te: *m4 failed with exit status: 1

am I miss something?

thanks

@avsej
Copy link
Member

avsej commented Dec 7, 2011

Hi laruence

You should use ./config/autorun.sh to run autostuff

@laruence
Copy link
Author

laruence commented Dec 7, 2011

$ config/autorun.sh
config/autorun.sh: running /usr/bin/libtoolize --automake --copy --force' config/autorun.sh: running/usr/bin/aclocal -I m4'
configure.ac:26: file `m4/version.m4' does not exist

@avsej
Copy link
Member

avsej commented Dec 7, 2011

I guess you are using tarball from github. Your build fails because of this line https://github.com/couchbase/libcouchbase/blob/master/config/autorun.sh#L41

To fix it you should either clone repo with git clone git://github.com/couchbase/libcouchbase.git or use tarball created by make dist. Try first option it will be simpler.

@laruence
Copy link
Author

laruence commented Dec 7, 2011

okey, works.

but there is another quesion, that is this project depends one the libvbucket

which can't be autoconf in my envrion:

$ ./config/autorun.sh
./config/autorun.sh: running /usr/bin/libtoolize --automake --copy --force' ./config/autorun.sh: running/usr/bin/aclocal -I m4'
m4/pandora_plugins.m4:12: file `m4/config/plugin.ac' does not exist
Can't execute aclocal

do you have any ideas?

thanks very much.

@avsej
Copy link
Member

avsej commented Dec 7, 2011

you can find libvbucket here https://github.com/membase/libvbucket also you probably need configure it with this option

--with-memcached-headers-url=https://raw.github.com/membase/memcached/engine/include/memcached

or download couchbase server and configure with --prefix=/opt.

@avsej
Copy link
Member

avsej commented Dec 7, 2011

/join #libcouchbase on irc.freeenode.org

@laruence
Copy link
Author

laruence commented Dec 7, 2011

Hi, I mean, I can't config/autorun.sh on the libvbucted,
get the error which said that can find the file "m4/config/plugin.ac"

sorry for bothering.

@laruence
Copy link
Author

laruence commented Dec 7, 2011

s /can find/can't find/ :)

@avsej
Copy link
Member

avsej commented Dec 7, 2011

hmm, I cannot reproduce it here, just made fresh copy and all works well, could you post your autoconf version?

@laruence
Copy link
Author

laruence commented Dec 7, 2011

autoconf 2.5.9

@laruence
Copy link
Author

laruence commented Dec 7, 2011

do you have the "m4/config/plugin.ac" file under the libvbucket src dir?

@avsej
Copy link
Member

avsej commented Dec 7, 2011

no, I don't

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

2 participants