Programming :: Tool To Convert Configure.ac Into CMake?
Feb 18, 2010Is there any tool to translate rules from configure.ac into Cmake rules?
View 3 RepliesIs there any tool to translate rules from configure.ac into Cmake rules?
View 3 RepliesI am attempting to compile some code on a cluster where I do not have root access (and is missing many of the libraries I want), and hence have had to create local builds of the boost and opencv libraries (i.e. in /home/username/usr/local). In particular, my cmake depends on:
Code:
find_package(boost)
which my normal development machine finds in:
Code:
/usr/share/cmake-2.6/Modules/FindBoost.cmake
On the cluster I have a version of FindBoost.cmake at:
Code:
/home/username/cmake_modules
How can I tell CMake to look for FindBoost.cmake in that directory, since neither the cmake file, nor the boost install is in the standard location? I've modified the FindBoost.cmake file to make it search in the locally installed boost libraries.
[code]....
This is probably an easy question but somehow I couldn't manage it to work.. I was testing the C++ WT library and I have a CMakeLists.txt file as below:
Code:
ADD_EXECUTABLE(heloooo.wt
hello.C
)
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
[Code]....
What am i doing wrong, I don't want to use the LD_LIBRARY_PATH, but to get the executable find the library with rpath when run?
Overnight, I upgraded from KDE 4.5.1 to 4.6.3 and had a rude awakening this morning when I found that KDE had managed to, once again, break the Task Manager "force rows" behavior which had been fixed a few major releases ago. I found this lovely patch that had been applied:
[URL]
And thus broken the functionality, and I want to recompile that particular plasmoid with the patch removed. However, I am completely unfamiliar with CMake or building anything at all, for that matter. All my programming is done in PHP which means I'm pretty much completely lost. I'm in the midst of pulling down the kde-workspace tree with git, and already downloaded and modified a separate copy of the file in question to look the way it is supposed to. I don't want to rebuild all of KDE, just the one module.
I'm creating a static lib via cmake,and when I view the .a binary file with less/more/cat I see functions from my time_tools.c, but not my other_api.c The directories structure is:
Code:
CMakeLists.txt
time/CMakeLists.txt
time/time_tools.c
time/time_tools.h
[code]....
Say I have a directory structure:
And other.c has:
How do I setup the CMakeFiles.txt files in each directory, so the executable "program" (from program.c) is created.
Currently I get the error:
[URL]...Now it works in Windows platform. Some functions rely on win-specific code and need to cross-platform alternatives. Can some one help to build chain(make or cmake) for this awesome project? any one can compile the Linux generator and transfer the project under *nix platform.
View 1 Replies View RelatedI wanted to convert some XLS files into CSV format in my Linux box. Could you please tell me is there any command line tool available in Linux. Since i have a requirement for automate this job via a cronjob , so i would be needed a command line tool.
View 1 Replies View RelatedAs a part of my project I have to write the code from scratch in c/c++ but I already have a full blown Java code available with me. Is there any tool that can do the same.
View 10 Replies View RelatedIs there a known tool to convert a file consisting of 2 byte Hex into ascii?
Note: - Maintain file offset listing in bytes code...
I need a tool or a script or something that will convert mkv files into vob or avi format.
View 9 Replies View RelatedIs there a free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format (for example PNG)?
View 2 Replies View Relatediam new user of linux and im trying to install dns server in fedora 12 and configure dns server by using gui tool.
View 1 Replies View RelatedWhile trying to compile one of the software application I am giving "cmake ." command but getting the below error :
I have downloaded "libpqxx-3.0.2" and have installed it.
libpqxx.a and libpqxx.la have got installed under /usr/local/lib.
Why am I still getting this error?
i've been trying to configure authentication for a particular tool on a website i've been building
i've tried php http authorization and .htaccess/.htpasswd files, neither seem to work
Code:
<?php
if (!isset($_SERVER['PHP_AUTH_TYPE'])) {
header('WWW-Authenticate: Basic realm="My Realma"');
header('HTTP/1.0 401 Unauthorized');
[Code]....
recommend a utility to let me automatically apply shell commands I type to a list of given remote machines?I'm configuring and maintaining multiple servers all running Fedora 12 and I want them to have exactly the same configuration. I also need to check out code from subversion onto these machines; the same code from the same location into the same directory. I know I could use ssh to run each command individually for each machine, but is there a tool that will make this much easier?
View 6 Replies View RelatedI am new to using OpenLDAP on OpenSUSE with the yast configure tool. I have used Openldap on Fedora before and there was a slapd.conf file that I could modify. It appears that the yast does something different. Anyway I need to find out what the rootdn password is, but I cannot find it since there is no slapd.conf file.
View 2 Replies View RelatedTrying to configure the VLC (remote desktop) and Pidgin tool in Linux.
View 6 Replies View RelatedI'm looking for a tool that can directly convert mp3 file to a swf file. Tried ffmprg - 'ffmpeg -i master.mp3 -ar 22050 -ab 32 -f swf -y -vn new.swf', output is as follows:
Output #0, swf, to 'new.swf':
Stream #0.0: Audio: 0x0000, 22050 Hz, stereo, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0
I found a way to perform this task using ffmpeg to convert the mp3 file to a wav file, and converting the wav into a swf file using swftools (wav2swf), although this is not a good option because the output swf file size is very big - for a 12mb input 320kbps stereo mp3 file, the swf file is 25mb. Also downloaded a free direct mp3 to swf conversion software, which had an output swf file - with the same 12mb mp3 file - of ~400kb.
The requirements I have from the tool are:
1. Can be ran from the shell.
2. Direct conversion, or an indirect one that will produce a small output swf file.
3. Suport for multiple file conversion is a plus.
I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).
View 9 Replies View RelatedDo I have the convert the int to a string using stringstream then convert the string to a char? or is there a more direct way?Also is there a way to tell the length of a int?
View 5 Replies View RelatedIs there any configure tool for xf86-video-intel like "nvidia-settings"?
View 1 Replies View RelatedI have some c++ code and want to generate class diagrams using some tool which would scan the c++ code and generate diagrams. Is there any such open source tool to be used on linux machine?
View 1 Replies View RelatedI want to load data into mysql database,I am having a xls file want to convert it into csv file to do it.I am running the script on apache server,was able to convert and I could see the output file,when I execute the php script in command line,but when I run it on the browser the file is not saved..??? .Whether something has to be configured on apache
View 1 Replies View RelatedI have an existing line of code from a P2 script that I cannot find a solution to converting to P3:
Code:
for i, x in map(None, list1, list2):
I have found the information about converting the simple case:
map(None,x) becomes list(x)
But my googling was unable to find a solution when more than one iterable exists.
Iam trying to check a value less than or equals 0.The value iam getting is after doing grep a file . but its throwing error .
Code:
When i execute this it throws
Code:
I am trying to write a kernel module which is the combination of the usb driver and a network driver, now whenever the data is recieved by the usb driver it will be in struct urb, but the data that is required by the net driver is sk_buff, now how do i convert a urb to sk_buff, i found something similar is being done in the phonet protocol, but i couldnt understand, howexactly this is being done. Can someone explain this code.
drivers/net/usb/cdc-phonet.c
Code:
static void rx_complete(struct urb *req)
{
struct net_device *dev = req->context;
struct usbpn_dev *pnd = netdev_priv(dev);
[Code]....
I have the source code for the dll file, and I want to convert it to .so file.the dll file has declared some functions like this in the .c file
declspec (dllexport) etc.
I want to use this program in linux(open suse). How to do it? Is it through Wine? Then how to do it exactly.
My Linux: Fedora 14 x64
My gcc: 4.5.1
My Glibc: 2.12.90
target Linux: "Ubuntu 8.04.4 LTS" hardy
target kernel: 2.6.24-29-server x64
target gcc: 4.2.4 target Glibc: 2.7
I need gcc/g++ and fortran. I Googled and most documents I found are somehow outdated and targeting for ARM, not for other Linux.
I am trying to build a cross GCC compiler for PPC476. I applied all the relevant patches. Cross compiler build was successful. When I try to compile the source code using the cross compiler I am getting the below error message. I think this is something related to linker.
Code:
cow_shim_funcs_startup_shutdown.o cow_shim_utils.o ../../dm/cfg/cfgi.a ../../dm/pl2/libsas21xxpl.a ../../raid/pfk/libpfk.a
/home/Raghu/gcc/cross-compiler/ppc/tools/lib/gcc/powerpc-unknown-linux-gnu/4.3.1/../../../../powerpc-unknown-linux-gnu/lib/libgcc_s.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [app.out] Error 1