How to compile a software for a non-typical platform?
I am quite new to compiling source codes in linux and have been running into a lot of problems in trying to do so since the platform configuration is different from most.
For starters, I know that you need to enter the following commands in order to install any software manually in linux:
But I was never able to run all these three commands successfully. For a current problem of installing jabberd2, I run into ./configure problem of not being unable to find Libidn:
I verified via ipkg command that I do have Libidn version 1.25-1. I think it should be installed in either in /opt/bin or /opt/sbin. I looked through the help options in configure:
Since I am not sure what I am doing is correct or not, I found that none of the following commands work:
How am I supposed to configure ./configure for my platform?
The software you're trying to build needs Libidn version >= 0.3.0 which presumably means a version 0.x.y where x >= 3 and y >= 0. A change in value in the 1st number in the version (0 to 1 in this case) indicates incompatible changes to the interfaces in the library that the code you're building is not prepared to handle.
You need to either get a newer version of the software you're building (that wants a Libidn version 1.x.y with x <= 25 or install an additional version of Libidn with version 0.x.y where x >= 3.
Note also that libraries should be loaded into a directory with a final component being lib; not bin.
You need to either get a newer version of the software you're building (that wants a Libidn version 1.x.y with x <= 25 or install an additional version of Libidn with version 0.x.y where x >= 3
None of the two choices is an option since the older version of Libidn (0.x) is not available for download and I am using the newest version of the software.
Fortunately, I was able to install alternative software using a different method that can substitute for it. But going back to the ./configure problem...if I enter the following command:
Doesn't that mean PREFIX is set to /opt? Then there won't be a need to set the following:
Since includedir is PREFIX/include, which should yield /opt/include.
The strange part is when I enter a make command. I stumble upon a problem of unable to find a header file even through it is at /opt/include. What am I doing wrong?
Input file
I have a file with four fields.
f1,f2,f3,f4
A,1,10,00,S
B,2,20,00,00,D
C,3,100,00,00,G
I want Output like
f1|f2|f3|f4
A|1|10,00|S
B|2|20,00,00|D
C|3|100,00,00|G
please help on this (4 Replies)
Hi Experts,
In a particular dir, I have many files *AJAY*.
How can I get total size of all such files.
I tried du -hs *AJAY* but it gave me individual size of all files.
All I require is summation of all.
Thanks,
Ajay (4 Replies)
Hi All,
I need to store the output of "find ." to an array one by one. Output of find . in my case will look like :-
.
./one
./one/a
./one/b
./one/c
./two
So my first array element should be "/one" and second one "/one/a" (need to remove "." from the output as well).
Then I need to... (11 Replies)
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Hi,
What is the use of the signal -3 in kill command in unix?
I read the meaning and typical use of this signal in one of the Oreilly books as below.
Quit -- stop running (and dump core). Sent when you type CTRL-\.
what does the CTRL-\ command do? Is it the combination of CTRL and... (6 Replies)
hi i have a requirement to write a mail script which needs to be automated.There are 7 CSV files generated for 7 clients in a single day.Each file will contain one header and the name of the file follows a nomenclature like ABC_20080402_ClientID.csv.ClientID is lets say... (3 Replies)
I want to disable some services starting automatically while system booting, for instance if i want to disable vold what i have to do ? i think some services related to a script init level shell directory,and i think as well that since solaris 10 they added a command to enable and disable services... (2 Replies)