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

configure: error: "msgpack >= 1.2.0 not found" #20

Open
falood opened this issue Mar 7, 2016 · 17 comments
Open

configure: error: "msgpack >= 1.2.0 not found" #20

falood opened this issue Mar 7, 2016 · 17 comments

Comments

@falood
Copy link

falood commented Mar 7, 2016

I compile tmate-slave on SmartOS_20160218T022556Z.
What should I do to let tmate-slave find msgpack?
Thank you.

PS. I get msgpack from https://github.com/msgpack/msgpack-c.

@nviennot
Copy link
Member

nviennot commented Mar 7, 2016

@falood
Copy link
Author

falood commented Mar 8, 2016

@nviennot
Thanks, the msgpack check passed.
But, another error raised when make.

clang: warning: argument unused during compilation: '-g'
Undefined           first referenced
symbol                  in file
openpty                             tmate-slave.o
delterm                             tty-term.o
ld: fatal: symbol referencing errors. No output written to tmate-slave
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:725: recipe for target 'tmate-slave' failed
make: *** [tmate-slave] Error 1

Should I close this issue and open another one?

@nviennot
Copy link
Member

nviennot commented Mar 8, 2016

Not sure what's going on. The openpty function should be in glibc.

@falood
Copy link
Author

falood commented Mar 8, 2016

It seems that glibc is not compatible with SmartOS, I can't compile it.
I'm not good at C/C++. How I wish I could make a PR.

@nviennot
Copy link
Member

nviennot commented Mar 8, 2016

I'll look into it

@field-theory
Copy link

The above configure error msgpack >= 1.2.0 not found is also present on Ubuntu Linux 14.04LTS.

In addition to the requirements listed on https://tmate.io I have manually installed the packages ruby-msgpack and libmsgpack-dev (which automatically installed libmsgpack3 and libmsgpackc2 as dependencies).

It didn't help, the error still persists.

@nviennot
Copy link
Member

nviennot commented May 5, 2016

Either install msgpack manually, or use the PPA repositories.

@field-theory
Copy link

There are several implementations of msgpack for C. After inspecting the source I figured that the required implementation is [email protected]:msgpack/msgpack-c.git.

When compiling that manually (along with libssh) the server compiles now properly.

@becste
Copy link

becste commented Sep 28, 2016

@nviennot I have the same issue on a centos 7. Interestingly enough a year ago building on a centos 7 I had 0 issues must really be due to the introduction.

Followed all the steps now multiple times but failing with the error mentioned above.

Also installed msgpack via yum which is on version 1.4.x now
Built & compiled msgpack as well as libssh libevent

But still the issue exists

@ppdouble
Copy link

ppdouble commented Jan 24, 2017

centos 6.7 x64. I want to use tmate server on my machine. Everything above have been tried. Not work.
yum install msgpack msgpack-devel (latest version from repository 0.5.7), gem install msgpack (latest version 1.0.2) , install manaually from msgpack source suggested by recipes, install source from msgpack-c, re-install libssh from source suggested by recipes.
Not work.
There are several edition of msgpack in my system. Not work.
I find two msgpack.pc in pkgconfig folder in my system.
msgpack.pc is in /usr/lib/pkgconfig which is 1.3.0, which is might be installed from recipes. Another one is shown 2.1.0 in /usr/local/lib/pkgconfig which is might be installed by manaually from source msgpack-c. But pkg-config could not find any of them, and pkg-config can find libssh.
It is wired.
I just set enviroment variable PKG_CONFIG_PATH. Set PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
Anyway.
Works. configure process now is pass.

And now. pkg-config can find it either.

[root@mymachine tmate-slave]# pkg-config --libs --cflags msgpack
 -lmsgpack  
[root@mymachine tmate-slave]# pkg-config --modversion msgpack
1.3.0

@wreed4
Copy link

wreed4 commented Sep 13, 2018

This is happening for me on Ubuntu 16.04 as well.

@limbo-envoy
Copy link

This is happening for me on Ubuntu 16.04 as well.

So, how did you solve that?

@wreed4
Copy link

wreed4 commented Dec 6, 2018

I don't think I did.

@cynosuretw
Copy link

Debian 9
apt install libmsgpack-dev

@antigenius0910
Copy link

ubuntu18.04
$apt install libmsgpack-dev
$pkg-config --libs --cflags msgpack
-lmsgpackc
$ pkg-config --modversion msgpack
2.1.5

@fedjo
Copy link

fedjo commented Aug 23, 2021

Debian 9
apt install libmsgpack-dev

Had the same issue on Debian Stretch. Solved by installing the above package

@mimoo
Copy link

mimoo commented Feb 10, 2022

I have this error when following the step to install a server from the landing page https://tmate.io/

libmsgpack-dev should be added to the list of dependencies, which currently reads:

tmate also depends on a couple of packages. On Ubuntu, the packages are:
git-core build-essential pkg-config libtool libevent-dev libncurses-dev zlib1g-dev automake libssh-dev cmake ruby

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