Software :: Failing To Compile C File?

Apr 4, 2011

i trying to compile courier-imap-3.0.8 (no te latest version but that's a requirement) using gcc 4.4.5 (Debian 5) I ran:Quote:./configure --enable-unicode=iso-8859-1,utf-8And went Ok with the verification, but when ran Quote:makeI got:

Code:
Compiling checkpassword.c
checkpassword.c: In function 'authcheckpassword':

[code]....

View 3 Replies


ADVERTISEMENT

Fedora :: Failing To Build Empathy Due To Missing Glib-compile-schemas?

Nov 3, 2010

I am using Fedora 12, and I recently downloaded the source of Empathy from the git repo. When I issue a ./configure on the console, I get the following output, please look at the last line:

[root@localhost empathy]# ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /usr/bin/install -c

[code]....

View 3 Replies View Related

General :: Failing To Extract A Tar/bz2 File?

Feb 13, 2011

File in question is [URL].. meder@pc:~$ tar -xvjf wkhtmltopdf-0.10.0_rc2-static-i386.tar.bz2 bzip2: (stdin) is not a bzip2 file. tar: Child returned status 2 tar: Error exit delayed from previous errors

I tried to unzip it as well, and I tried a various slew of commands to no avail on my Debian box which has no GUI. I downloaded this on my local desktop ( Ubuntu ) and was able to easily extract w/ my mouse so I'm not exactly sure what the extractor did differently...

View 1 Replies View Related

Debian Configuration :: Apt Had A Blank Sources File And Grub Is Now Failing?

Mar 23, 2011

I'm hoping someone can help me. I upgraded my server from Lenny to Squeeze this afternoon following the release notes at http://www.debian.org I had no issues and everything is still running. I then installed Sqeeze via the Net Install disc into a virtual machine for some testing. Once the install was complete I found that apt was not working. It turned out the sources file was blank. I manually added the official repos and did an update. There were no new packages for installation.

Now, after a reboot, I get the Grub error:
error: ELF header smaller than expected
Entering rescue mode...
grub rescue>

I have no idea why this happened because I've not changed grub, just played around with apt. Has anybody any idea why apt had a blank sources file and grub is now failing?

View 1 Replies View Related

Ubuntu Servers :: Vsftpd File Copy Failing / Resolve This?

Jul 22, 2010

I've just installed Ubuntu server 10.04 and have set up vsftpd somewhat successfully. I can connect as my root user, and I only have access to my home directory. However, whenever I try to copy a file across a file I receive a 550 Permission denied error.

I've run the command ls -l /home/directory and the result returned is total 0, when I was expecting details of permissions per user. I've tried running chmod -w /home/directory but this doesn't return any result nor change the result of the above ls command.

View 5 Replies View Related

Ubuntu Security :: Failing On The First Command When Run Iptables-restore < File Location

May 4, 2010

I'm setting up a server with Jaunty Jackalope version. I'm trying to test setting up a basic iptables rules... No matter which command I put in, it is failing on the first command when I run iptables-restore < file location (the first rule always fails). I'm doing this on the root user and first typing in the iptables rules in a test file. I've tried the first command starting with % sudo, iptables and -A. All have the same result. I've also tried letting the HTTP rule be first with the same result.

[Code]...

View 2 Replies View Related

OpenSUSE :: Compile A Tar.bz2 File?

Mar 27, 2010

How do I compile a tar.bz2 file I have never successfully done it. I really want to do it for mac on Linux.

View 9 Replies View Related

Ubuntu :: Can't Compile Tar.bz2 File / Do That?

Aug 13, 2011

I need to downgrade my firefox from 5 to 3.6 I downloade the tar.bz2 file but after I extracted and cd to the file I got these errors when trying to install code...

View 1 Replies View Related

Fedora :: Unable To Compile .cpp File?

Jan 31, 2011

unable to compile a simple C++ programme (.cpp file), on compiling the file with gcc or g++ the following error is displayed, but the above command works in Redhat EL. the error message is:"fatal error: iostream.h: No such file or directorycompilation terminated."an anybody suggest to compile a C++ programme in Fedora 14.

View 10 Replies View Related

General :: Compile And Run A Cpp File Using Only One Command?

Jun 24, 2010

Recently I've started to learn cpp language on linux,and now I run a cpp file using following commands. g++ -o xxx xxx.cpp./xxxIs there a way to make it one line command such as compile-and-run xxx.cpp?

View 5 Replies View Related

Ubuntu :: Compile The Cpp File By Make?

Feb 3, 2011

how to compile the cpp file by make?

make -w file -> does not work!
make -f file -> does not work!

View 4 Replies View Related

Red Hat / Fedora :: Compile A Tar.gz File In Centos5?

Jan 18, 2010

howto compile a tar.gz file in centos5ORhow can i create rpm from tar.gz file

View 1 Replies View Related

General :: Not Able To Compile Source RPM File

Oct 15, 2010

I am trying to build a source rpm file through a source rpm package but while compiling I am getting the below errors as,

[root@nisserver tmp]# ls
gconfd-root mapping-root ssh-kvrIrp2633
keyring-fgwCIY nmap-5.21-1.src.rpm virtual-root.2hSYRa
keyring-vx1pvB orbit-root

[root@nisserver tmp]# rpmbuild --rebuild nmap-5.21-1.src.rpm
Installing nmap-5.21-1.src.rpm
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49535 .....

RPM build errors:
user fyodor does not exist - using root
group fyodor does not exist - using root
user fyodor does not exist - using root
group fyodor does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.73783 (%build)

What next step need to be taken to install the rpm file from the source file.

View 6 Replies View Related

Software :: Compile A File In Ubuntu?

Jan 13, 2011

im trying to compile a file in ubuntu and it says i need libzmq. anyone could post a link or something so that i could install it i would be very happy.

View 6 Replies View Related

CentOS 5 :: How To Compile Tar.gz File In Centos5

Jan 18, 2010

how to compile a tar.gz file in centos5 OR how can i create rpm from tar.gz file

View 2 Replies View Related

General :: Compile Multiple File Using Makefile ?

Jun 1, 2011

How to compile single file in Linux environment using gcc. Now i dont know how to use make file to compile multiple file.

View 5 Replies View Related

General :: Shortcut To Compile Kernel File?

Nov 5, 2010

I become successful to download kernel, compile it and run it.BUTWhen i modify tcp.c file or any other file in this /usr/src/linux/net/ipv4 location, (just modifying c files) i have to compile the complete kernel every time, which is very time consuming procedure.So Please help, How to compile that net/ipv4 package or etc.

View 5 Replies View Related

Software :: Added An Cc File To An Tcl Script And Compile

Feb 11, 2011

im nirmal r ..i have installed ns2 in redhat 5.i have added an cc file to an tcl script and while compiling the make in terminal it shows me like this..(i have tried to enable the propertise but i con't)

[Code]....

View 1 Replies View Related

Software :: Stdio.h - File Missing During GCC Compile

Mar 3, 2011

I have looked at the other threads and found nothing which pertains to my issue. I am using an older version of Debian 4.0 I cannot upgrade until I have a 2nd server running. I lost the 4.0 installation disks. During an apt-get install i did, I foolishly changed sources.list to other sources on the net which changed dependencies and removed needed packages, such as perlmagick, Crypt-SSLeay, aptitude, and possibly the glibc - ( my current glibc was changed to glic6). Since I have found my original 4.0 disk. restored the sources.list. ran an update. and restored many of the packages that were removed. (a big lesson to me I will never do that again)

Here is a simple program:
#include <stdio.h>
When I run a gcc or I use cc compile
I get this message: "stdio.h": No such file or directory found.
Yes I know I missing the file stdio.h. I have looked
in /usr/include /usr/lib nothing.

Apparently during my mistake the system installed the glibc6 and removed the "stdio.h" file and other dependencies. I would like to get back to where as was in terms of the glibc version I had. Aptitude currently shows the following packages that are available to me

Code:
DEB1:/etc# aptitude search glibc
v glibc-2.3.6-2 -
v glibc-2.3.6.ds1-1 -
p glibc-doc
- GNU C Library: Documentation
v glibc-pic
p libg++2.8.1.3-glibc2.2
GNU C++ extension library - runtime version
p libstdc++2.10-glibc2.2
- The GNU stdc++ library
DEB1:/etc#

The question is which one should I install, to get my "stdio.h" back again? Would I have to uninstall glibc6 first? Uninstalling glibc6 displays a big warning. Is there a way I can download just the "stdio.h" files?

View 5 Replies View Related

Programming :: Can't Compile C++ - Execvp: No Such File Or Directory

Mar 2, 2011

i was trying to Compile my c++ program..cme across this problem....but my c programs are getting compilied without any problem.I am using fedora 14. Below is the way terminal reacted to my program..

gcc prog1.cpp gcc: error trying to exec 'cc1plus': execvp: No such file or directory

View 4 Replies View Related

Programming :: If Modify Tcp.c Stack File And How To Compile

Nov 4, 2010

i have just modify tcp.c file in/usr/src/linux/net/ ipv4 location.Now should i compile the complete kernel?if not then how to compile that net/ipv4 package or etc.

View 1 Replies View Related

Fedora :: Kernel Compile With Encrypted File System?

Dec 9, 2009

I am trying to replace just the kernel (no modules) for my default kernel on FC 11. I use the default .config file and just change a few things and then run the make command. After I replace the kernel and reboot the system the password comes up for the encrypted filesystem and it does not take my password for some reason. what I need to do to get this working?

View 1 Replies View Related

Ubuntu Installation :: Compile The Driver File Manually?

Jul 27, 2010

Here any know how to compile the driver file manually?

For example i have been insert the Realtek Ethernet card in my customized kernel and kernel can't detect the card. I know the c file 8139too.c which going to use by the realtek Ethernet card.but i don't know to how to compile the file and make this as a kernel module..

View 2 Replies View Related

General :: Compile An Application And An Driver File For ARM Platform?

Apr 22, 2010

I am new to the embedded domain.I am learning about cross compilation. Just i want to compile an application and an driver file for ARM platform. I have downloaded the toolchain binaries from [URL]..

View 3 Replies View Related

General :: Compile A Pascal Object File With A .o Extension ?

Mar 27, 2010

I have been trying to compile a pascal file using fpc. I succeeded using the command fpc pas1.pas, but this gave me a new object file pas1.o. How do i compile this file to get my output. gcc -o pas1.o does not work.

View 2 Replies View Related

Programming :: DataBase In Python - Compile .py Files Into A .exe File

Jun 20, 2011

i am new to python programing and i have a couple of ?'s

1- what would i do if i needed to find the closest, bigger number, from a list of numbers when the user types a number in.

2- (windows) i need a program that can compile .py files into a .exe file so that it works on a machine without python it also needs to work with python 3.2.

View 8 Replies View Related

General :: Can't Compile Gcc - Fatal Error: Stdio.h: No Such File Or Directory

Feb 19, 2011

I am trying to upgrade my NAS with anew toolchain, gcc-4.5.2. The NAS have been "hacked" fonz_plug, that contain a gcc version 4.1.3 with uClibc. I have download all needed tar files and done the following.My goal is to upgrade the gcc to 4.5.2 and replace the ucLibc on the system with a GNU libc.

# Pass one
#
# binutils
./configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --with-gmp=/ffp --with-mpfr=/ffp
But when I try to compile the gcc with
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-__cxa_atexit --with-float=soft --enable-languages=c,c++ --with-build-sysroot=/ffp --with-build-time-tools=/ffp/bin --with-system-zlib --enable-threads=posix --disable-bootstrap

[Code]...

View 6 Replies View Related

General :: Use Compile File Build Package Without Messing Up Library

Apr 11, 2010

I want to build a package from source using src2pkg, but I don't know how to avoid library miss match. Suppose I have Firefox 3.5.2 on Slackware 13.0 64 and I want to upgrade it to 3.6.2. Last time when I venturesomely installed Firefox-3.6.2-current into my Slackware 13.0, I got library miss match. Thus, instead of upgrading the whole packages to current (which is impractical and cumbersome), I want to build 3.6.2 from source. How can I do this? Is there any guideline how to use src2pkg? Or should I rather use makepkg? Do I need to create a Makefile?

View 7 Replies View Related

Debian Configuration :: Change The Driver File And Compile Custom Kernel

May 3, 2011

When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:

1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb

Is this way OK or do I miss something?

View 14 Replies View Related

Ubuntu :: Gopenvpn Compile Error - Cannot Find Input File: `po/Makefile.in.in'

Mar 6, 2010

Ubuntu 9.10 64-bit
Lenovo T400

I'm trying to install gopenvpn from source. [URL] I'm pretty sure I have all the necessary libraries installed.

./configure ends with:
.
.
.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pixmaps/Makefile
config.status: creating src/Makefile
config.status: error: cannot find input file: `po/Makefile.in.in'

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved