You are not logged in.

#1 2012-05-11 18:58:58

putki
Member
Registered: 2012-05-09
Posts: 4

[SOLVED - sort of]help with missing readline.h

Hi,

I wish to get some help. I'm trying to build the newest Piklab package but cmake complains about missing readline header. However, readline.h is in /usr/include/readline among the other headers. My installation is 64-bit but I can run 32 bit programs (lib-32glibc installed).

Any ideas?

Last edited by putki (2012-05-12 13:34:24)

Offline

#2 2012-05-11 19:18:37

xx4h
Member
Registered: 2011-02-28
Posts: 21
Website

Re: [SOLVED - sort of]help with missing readline.h

complete error would be useful smile


Sysprofile
xx4h freenode #archlinux/#archlinux-aur/#archlinux-offtopic
BitCoin-Address: 13eaEB8YK5heFwXWieL8bZXXPq8fgbS8Kx

Offline

#3 2012-05-12 13:33:07

putki
Member
Registered: 2012-05-09
Posts: 4

Re: [SOLVED - sort of]help with missing readline.h

I found that piklab-0.15.12.tar.bz2 is somehow broken. I replaced its FindReadline.cmake with the same file taken from  piklab-0.15.10.tar.bz2 and it built nicely on 32 bit ubuntu. However, I encountered a problem. Build on 64 bit arch stops due some other error:

/home/hp/piklab-0.15.12/src/common/port/hid_port.cpp: In static member function 'static bool Port::HID::getDeviceIds(uint, uint&, uint&)':
/home/hp/piklab-0.15.12/src/common/port/hid_port.cpp:52:3: error: '::close' has not been declared
/home/hp/piklab-0.15.12/src/common/port/hid_port.cpp: In member function 'virtual void Port::HID::internalClose()':
/home/hp/piklab-0.15.12/src/common/port/hid_port.cpp:136:5: error: '::close' has not been declared
make[2]: *** [src/common/port/CMakeFiles/port.dir/hid_port.o] Error 1
make[1]: *** [src/common/port/CMakeFiles/port.dir/all] Error 2
make: *** [all] Error 2

I guess it won't compile on 64 bit Arch... I'll give up!

Thanks

Offline

#4 2012-05-12 14:54:18

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED - sort of]help with missing readline.h

relevant: https://bbs.archlinux.org/viewtopic.php?id=141298

Not sure where readline.h comes into play here...

Offline

Board footer

Powered by FluxBB