Programming :: How To Use "autoconf"
Jul 6, 2010
Am trying to install PHP by running the "configure" command but saw 2 WARNINGS about not having defined "datarootdir".Looking into this further here I found that there is a change since Autoconf 2.60, the datarootdir variable is introduced and it should have been defined in the "Makefile.in" file.Guess PHP.net didn't do this properly?
View 3 Replies
ADVERTISEMENT
May 6, 2010
After doing make I have the following questions? How can I see that the build is with debug information? What shall I do to build the release version? Can I have the release version in one directory and the debug version in another? I mean, when I change from debug to release, make will not overwrite the debug version.
View 7 Replies
View Related
Oct 26, 2010
My box is centos 5.5 x64, and how to upgrade autoconf 2.59-12 to 2.61? When I install nabi, I got this message.
Quote:
[root@localhost nabi-0.99.7]# make
cd . && /bin/sh /_work/nabi/nabi-0.99.7/missing --run autoconf
aclocal.m4:20: warning: this file was generated for autoconf 2.61.
You have another version of autoconf. It may work, but is not guaranteed to.
[code]....
View 1 Replies
View Related
Mar 13, 2010
When I run the command:
"sudo apt-get install build essential autconf automake libxmu -dev"
I go the following error:
"E: Package autoconf has no installation candidate"
In the cd-rom there is no any autconf package.
View 1 Replies
View Related
Apr 24, 2010
Edit: solution is installing older version = "aptitude install autoconf2.13"
sudo aptitude install autoconf
* then rebuilding php 5.3.2 configure script:
rm configure
./buildconf --force
[code]....
View 1 Replies
View Related
Oct 15, 2010
I have a conexant modem and i want to make it work(just for fun, i have DSL). The linuxant driver works but i want full 56k. I tried ubuntu [URL]... How to/Conexant and there was alink for some Dell driver. I've compiled and installed the Dell successfully but when i run
[Code]...
View 9 Replies
View Related
Jul 16, 2010
When creating the binary rpm for autoconf from a source, the test for "autom4te" gives "FAILED (tools.at:134)", while the rest of the test give "OK". This prevents the binary from being built successfully. How can I build the binary? I am using RHEL 5.
View 1 Replies
View Related
Jul 3, 2010
I have a distro-neutral VirtualBox shell install: VirtualBox-xxx.run
you type: sh VirtualBox-xxx.run install
this goes through but the screen says "could not compile the kernel module vboxdrv.ko, see the install log"
the install log in /var/log says this:
test -e include/linux/autoconf.h -a -e include/config/auto.conf
echo " ERROR KErnel configuration is invalid
echo " include/linux/autoconf.h or include/config/auto.conf are missing
echo " run 'make oldconfig && make prepare' on kernel src to fix it"
ok, I've left out a bunch of stuff but, NO these 2 files are NOT missing. I have all the required compile-type packages and the source and headers. Under /usr/src there are :
1: /linux-2.6.31.12-0.2
2: /linux-2.6.31.12-0.2-obj
3: /linux/obj
4: linux
num 4 is a symbolic which points to 1:. num 3 has a sub-dir /i386/default which links to the /default in 2:
the supposed missing files are in sub-dir in 2:
This is what I did. I changed num 4: to point to 2:, deleted all the vbox stuff and re-tried install - still same result.
I reset num 4: to point to 1: and did the "make oldconfig && make prepare". This put new sub-dir entries under 1: with the 2 files in correct sub-dirs. Delete vbox and try re-install - still same result.
Some things I left out of the error log at the start show that the install's use of "make" relates to both dirs 1: and 2: so even with both having the files the install is still barfing.
Perhaps related to this, at the log end there are errors about the /tmp/vbox and some SUPdrv.c files.
I looked in the forums and there are suggestions wrt errors about these missing files that the fault lies with kernels 2.6.33 which puts these missing files in a different named sub-dir - /generated. Well as you see above, kernel is a 2.6.31
There's supposed to be a command line option for the shell install where you add " -- xxxxx " where xxxxx is extra instructions. I tried to put definitive pointers to the sub-dirs involved there but not successful.
View 3 Replies
View Related
Aug 27, 2010
I am interested in learning 3D programming. The thing is, I would hate to put too much effort to learn something that doesn't have future and is dying. My favorite language at the time is Java. My goal is professional programming.
So I have several questions:
1. Should I learn JOGL or start learning C++ and do C++ openGL programming?
2. Is there a big difference between JOGL and C++ openGL programming?
3. Is it worth to learn openGL? Does it have a future?
4. Is it a big difference between openGL and directX coding?
5. If choosing Java, then JOGL or LWJGL?
Why and what is the main difference between them?
View 4 Replies
View Related
Mar 7, 2010
Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.
View 1 Replies
View Related
May 30, 2010
I did searched you tube but my results were not great.I have 2 books on KernelProgramming.I feel I need if some where I can get a video tutorial which can help me to understand how to develop a Linux Device driver that will be great.I had a look at Greg Kroah Hartmans video lecture of developing patches on ......I have been reading books and a lot of stuff.So I wish if I could get a video lecture that would be better
View 1 Replies
View Related
Mar 8, 2011
I have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.
View 3 Replies
View Related
Feb 9, 2011
I want that I click with the mouse on the video, it paused.I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":
Code:
vd = totem_object.get_video_widget()
vd.connect("clicked", vd.hide)
[code]....
View 3 Replies
View Related
May 16, 2011
i have a server program which accept multiple client connection and am using polling. like every 2 secs it will look to client whether any data is received after it binded. i have used setitimer but there is runtime error i got.. the server accept all client connection but doesn't execute any msg which client sent.
#include<stdio.h>
#include<stdlib.h>
#include<sys/socket.h>
#include<sys/types.h>
#include<netdb.h>
#include<unistd.h>
#include<pthread.h>
#include<string.h>
[Code]....
View 1 Replies
View Related
Oct 27, 2010
I am learning network programming via a book of Richard Stevens.The sample source codes are given here
http://www.unpbook.com/unpv13e.tar.gz
I downloaded and unzipped the file in /usr/src folder.As per the instructions given in README of downloaded archive I did.
View 5 Replies
View Related
Sep 28, 2010
A simple TCP based chat server could allow users to use any TCP client (telnet, for example) to communicate with each other. For this question you should consider a single process, single thread server that can support exactly 2 clients at once, the server simply forwards whatever is sent from one client to the other (in both directions). Your server must not insist on any specific ordering of messages as soon as something is sent from one client it is immediately forwarded to the other client. As soon as either client terminates the connection the server can exit
View 4 Replies
View Related
Dec 19, 2008
I am unable to find a description of alsa's programing language, this sort of stuff:
[Code]...
I need to know what, for example, 'ttable' means and what is its syntax. This seems to be a state secret.
View 2 Replies
View Related
Feb 18, 2011
We have documents on multiple workstations and want to collate them into a single repository to provide text search and download. So far we have implemented rsync to copy files from each workstation under a directory for each workstation on a server (incidentally providing a backup) and have set up text search using Xapian with Omega; users access it via a web browser. Still to do is to set up a system to copy files from each workstation's area on the server to the repository.
Many files are duplicated. In these cases we want to preserve the names but keep a single copy of the file;hard links can be used for that.For each file to be copied from a workstation's area into the collated area we need to check whether it is a duplicate (file size and, if same, MD5 sum) and if so, create a hard link to the original rather than create a copy.A system to detect and replace duplicates in the collated area has been written using ruby and postgresql but the developer cannot commit to continuing this work. It does mean we have a postgresql database populated with "fingerprints" of files in the collated area.My first priority is to get the system working; in the longer term whatever is developed must be maintainable; I do not yet know which language skills are available locally.
I am fluent in bash and competent with awk. Ruby looks nice but I have started to learn python and do think it prudent to learn both at the same time. Python's postgresql capabilities are not settled but may be fine for the simple usage required.What to do? A bash solution would run very slowly but could be developed quickly. Language knowledge aside, I have found it difficult to install ruby on the server (CentOS 5.5;installed rvm but "gem" still not installed; seems a very complex system with its own package management).
View 7 Replies
View Related
May 11, 2011
i have problem in socket programming, while displaying received message in file,i got a problem... i cant able to write it in the file.... this is the code....
Code:
/* tcpserver.c */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
[Code]....
now my problem is run time error i can able to create file but i cant able to write file....log.txt contain nothing.... as here i have give sample code... dont say not initialising function and all.... i have initialised , please only see func1() - my problem is only not able to write msg which i got received from the client..
View 2 Replies
View Related
Apr 11, 2011
I need help as I am not proficient with Linux C++ Programming. There are two parts which I need to do in the coding provided below.
1. Produce the program so it can output the word "Hey there!" and wait two minute and print the word "See you later!".
2. Produce the program that will output the text "Cool" every 20 seconds by setting a periodic task.
Quote:
#include <linux/kernel.h>
#include <linux/module.h>
MODULE_LICENSE("GPL");
int init_module(void)
{
printk("Hey there!
[Code]...
View 3 Replies
View Related
Jun 28, 2009
I've been working in the real world for a year making some money to go back and finish my masters, and now I'm coming to the end of my contract and am realising how little i remember and how small my scope has become; i basically do shell scripts and perl these days, and its making me uneasy. So instead of bitching about it , I'm going to endevor to complete Project Euler Using randomly generated programming languages for each problem, selected from
And post the fruits of my attempts at my blog (shameless plug) aswell as opening up my svn repository when I'm done. (altho i need to ask in another thread about svn permissions....)To my shame i havent ever touched C#, JavaScript, Ruby or Python, so all in all its going to be very interesting how much i screw up.Anyone have any additional ideas, or languages I'm missing or such? I was considering TCL or Haskell or Erlang at a strech, but i dont know how useful these three would be.
View 14 Replies
View Related
Aug 25, 2010
how to use socket programming in order to implement chatting feature
View 5 Replies
View Related
Jun 30, 2010
I trying to write a UART(interfacing of serial devices) to linux machine but after I execute the following code to receive data I need to enter key (carriage return).... but I don't want to remove carriage return/enter key
[Code]....
View 13 Replies
View Related
Sep 28, 2010
i want a process that can operate as both a TCP echo server and a UDP echo server. The process can provide service to many clients at the same time, but involves a single process that does not start up any other threads.
View 3 Replies
View Related
Mar 27, 2010
I wonder why arrays in the C programming language are pointers to the first element of the array, not the first element of the array itself?
View 14 Replies
View Related
Apr 8, 2010
I want to design an audio chat programming in Ubuntu.So how shall I proceed? Any help on this please?I am complete novice in this topic. Currently my aim is to capture audio from microphone.
View 1 Replies
View Related
Mar 31, 2011
I need to rename the resulted searched files from a loopI have the following code:
find . -name DOC* | while read i
do
find $i -type f -name '*.txt'
done
basically, I am searching for all txt files inside any folder starting with DOC name.this code is working fine with me.I need to rename those .txt files to .txtOLDOS: Ubuntu 10.4Bash shell
View 10 Replies
View Related
Feb 12, 2011
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
View 5 Replies
View Related
Mar 13, 2009
Is there any framework available for network programming in c language just like POCO in c++.
View 1 Replies
View Related
Dec 5, 2010
When sending data over the socket, the sending socket includes 0x00 after each sent byte. I wonder how this can be avoided -- I just want to transfer the data in the tx_buffer as it is.
# ./serv &
[1] 6895
# ./EUG 127.0.0.1
EUG: Data to be transmitted: 0x35 0x32 0x30 0xff 0x03 0x31
EUG: Data - #Bytes transmitted: 6
./serv: Here is the message: '5'
[Code]...
View 3 Replies
View Related