Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 13:50
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
cmake for version 4.1.2
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Mercedes350se

Joined: 16 Apr 2008
Posts: 635

PostPosted: Tue 10 Sep 2013, 08:00    Post_subject:  cmake for version 4.1.2  

I need cmake for a project. I have downloaded and installed a number of versions of cmake but they are all missing a couple of libs.

Where can I download a version that will work out of the box on puppy 4.1.2?
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: Tue 10 Sep 2013, 09:54    Post_subject:  

2.4.8 Built from slackware...resquashed from lzm .. runs on 4.12. Includes documentation and install stuff so could probably be stripped..use as sfs or mount and manually add files.

https://dl.dropboxusercontent.com/u/110545536/Puppy/Cmake-2.4.8_412.sfs

If you are having a problem with this or any other you tried you might need a newer libstdc++...its a common need so worth updating

https://dl.dropboxusercontent.com/u/110545536/Puppy/libstdc%2B%2B13.tar.gz

mike
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 635

PostPosted: Wed 11 Sep 2013, 04:41    Post_subject:  

mikeb, Thank you but as I still have cmake-2.4.0 installed from last night I decided to try again.

When I run

Code:
# cmake ../
cmake: /lib/libz.so.1: no version information available (required by cmake)
cmake: /lib/libc.so.6: version `GLIBC_2.7' not found (required by cmake


Both those library files are in /lib

Any ideas?

For the record I simply downloaded and extracted to /

Do I need to do anything else?
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: Wed 11 Sep 2013, 06:49    Post_subject:  

You either need to update glibc or use my sfs which works with glibc 2.6.1 happily.

Debian packages particularly force a higher glibc than actually needed.

mike
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 635

PostPosted: Thu 12 Sep 2013, 04:21    Post_subject:  

Downloaded the .sfs, mounted it and typed
Code:

cmake ../


with exactly the same lib message as posted above.

Obviously I need some serious hand holding!

PS. I downloaded/installed the libstdc files.

EDIT: I still had another version of cmake which was the one beong called. After deleting it and mounting the .sfs I get a message saying I need version 2.6.

Life was not meant to be easy!
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: Thu 12 Sep 2013, 10:50    Post_subject:  

Hmm so now it works but it want 2.6 ... fun isn't it. In some cases I have hacked the configure script(s) to allow an older version of such things and got away with it...otherwise its a case of a 4.12 puppy friendly newer cmake.....

http://ftp.slackware.com/.2/slackware/slackware-12.2/slackware/d/

the cmake here is 2.6.2 and slackware 12.2...it MIGHT be ok on puppy 4.12...I cannot test at the moment... otherwise it may be a case of compiling it for yourself.

mike
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 635

PostPosted: Thu 12 Sep 2013, 19:58    Post_subject:  

Downloaded and extracted OK.

Ran

Code:
# cmake ../
cmake: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory


Copied the two files across from the Ubuntu install.

Ran

Code:
# cmake ../
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/usr/src/rtl-sdr/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!


Oh dear!
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: Fri 13 Sep 2013, 09:56    Post_subject:  

Hmm ok so now a running cmake.

Well when I built marble it comes with scripts to use cmake so my guess is the sources of the app you are building should set up all the build variables... have you tried building yet?

In my case I used the older cmake I gave you and just ran the marble build script....

mike
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 635

PostPosted: Mon 23 Sep 2013, 07:31    Post_subject:  

Searching the 'net seemed to indicate that I need "make".

I downloaded the devx_412.sfs to /

Clicked on it to mount it but still I get the same error messages.

If I do a pfind "make" is not found - however it is in /mnt/+devx_412.sfs/usr/bin

1. How do I make (sorry) it visible to the system?

2. Given that I have also installed a later version of "cmake" how do I hide the one that is also in the above directory? The compile requires the later version of cmake.

To try and answer my own questions I copied "make" to /usr/bin then assuming the old cmake was not visible

Code:
# cmake ../
-- The C compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
-- Build type not specified: defaulting to release.
-- libusb-1.0 not found.
-- Looking for include files CMAKE_HAVE_PTHREAD_H
CMake Error at /usr/share/cmake-2.6/Modules/CMakeCInformation.cmake:16 (GET_FILENAME_COMPONENT):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for include files CMAKE_HAVE_PTHREAD_H - not found.
-- Could NOT find Threads  (missing:  Threads_FOUND)
CMake Error at CMakeLists.txt:67 (message):
  LibUSB 1.0 required to compile rtl-sdr


-- Configuring incomplete, errors occurred!


It seems that simply clicking on the devx to mount it is not good enough. I have seen a thread on how to use the devx in a full HDD install. That will have to wait till tomorrow.

In the meantime the questions above are obviously still in need of an answer.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: Mon 23 Sep 2013, 08:08    Post_subject:  

Hmm well that would explain a lot.

Once you have the devx properly installed then you may find all will work.

Ok if a later cmake is needed then the newer one would need adding after the original.

But this all seems a bit messy.... it may make more sense making a frugal developement system since you are dealing with devx and file you don't normally need to run rather than clog up your full install.
If you do DON"T do it on the same hard drive as a bug in puppy might just eat your full install for breakfast...use a flash stick or similar or another machine.

Or if its still a pain ask a looney like me to have a go at building it...just point me at the sources....I have 412 handy with dev files

mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0656s ][ Queries: 11 (0.0038s) ][ GZIP on ]