05-27-2008
Try 'export CC="/usr/sfw/bin/gcc"' before running the compile.
9 More Discussions You Might Find Interesting
1. Programming
Hello Unix experts,
I downloaded rpm-4.0 source from ftp.redhat.com and tried to make it. There are something I could not understand.
- Makefile.in and Makefile.am instead of Makefile
- file INSTALL doesn't show clearly the steps of compiling
What are these 2 files, Makefile.in and... (2 Replies)
Discussion started by: eddie
2 Replies
2. Programming
i tried to compile a c++ file using the g++ command:
g++ <filename>.cpp -out <output_file>
and i received the following error message:
ld.so.1: gcc: fatal: relocation error: file gcc: symbol bindtextdomain: referenced symbol not found
Killed
is it that i am using incorrectly the... (1 Reply)
Discussion started by: ldrojasm
1 Replies
3. SuSE
I've been usuing Suse 9.1 & 10 on 2 different machines for a while and have so far relied on ready compiled versions of programs in RPMs in order to install them.
I'm unclear what is envolved in compiling from the source code myself. I did a general google on the topic and found some unclear... (3 Replies)
Discussion started by: Mark Ward
3 Replies
4. Solaris
Hello,I'm trying to compile source code for Nmap.
My $PATH /usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb:/usr/local/bin:/usr/css/bin
I type ./configure and all goes great.When I type ./make or ./make it says make not found.Why?I need a correct path for make?Thanks in advance. (2 Replies)
Discussion started by: bgf0
2 Replies
5. Programming
Hi,
I am trying to compile openGL code which is written in c++ ..but i am getting error msgs like this
root@lxdevenv:~/Desktop# g++ diss.cpp -o diss -I/usr/X11R6/include/ -L/usr/X11R6/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU
diss.cpp:1:23: error: windows.h: No such file or directory... (2 Replies)
Discussion started by: Ravikishore
2 Replies
6. AIX
How to compile a package surce in AIX when we download its source? (2 Replies)
Discussion started by: johnveslin
2 Replies
7. Programming
Hi,
I want to debug Vim source code with GDB but I can't get it. It seems to run without debugger.
Here is my try. I have supressed output of most commands. Tell me if you need them.
$ uname -mor
2.6.37-ARCH i686 GNU/Linux
$ mkdir ~/birei && cd ~/birei
$ wget... (2 Replies)
Discussion started by: birei
2 Replies
8. Programming
Hi.
I wrote a small programm which shows me display's refresh rate
#include "stdafx.h"
#include "windows.h"
#include "iostream"
using namespace std;
int _tmain(int cout)
{
HDC hDCScreen = GetDC(NULL);
int RefreshFrequency = GetDeviceCaps(hDCScreen, VREFRESH);
ReleaseDC(NULL, hDCScreen);... (1 Reply)
Discussion started by: urello
1 Replies
9. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT CENTOS
create_makefile
CREATE_MAKEFILE [FIXME: manual] CREATE_MAKEFILE
NAME
create_makefile - Creates Makefile.in and Makefile from a Makefile.am
SYNOPSIS
create_makefile [relativepath/Makefile] [relativepath]
DESCRIPTION
create_makefile creates the Makefile.in and Makefile in a subdirectory containing a Makefile.am. This script saves time compared to
re-running configure completely
Note that you must supply the path to the desired MakefileMakefile.am (though the final /Makefile may be omitted).
This script may be run from the toplevel directory (the one containing configure) or from one of it's subdirectories.
If the source directory is different from the build directory (see the environment variables below), it will be assumed that the
Makefile.am and Makefile.in belong beneath the source directory and that the Makefile belongs beneath the build directory.
This utility is part of the KDE Software Development Kit.
ENVIRONMENT
One of the following variables (but not both) should be set if the source directory is different from the build directory. If the build
directory is simply a subdirectory of the source directory, the simpler variable OBJ_SUBDIR should be used.
OBJ_SUBJDIR
Indicates that the build directory is in the given subdirectory of the source directory. For instance, if the source directory is
kdesdk and the build directory is kdesdk/obj-i386-linux, then OBJ_SUBDIR should be set to obj-i386-linux.
OBJ_REPLACEMENT
A sed expression that is used to transform the source directory into the build directory. For instance, if the source directory is
~/src/kdesdk and the build directory is ~/src/kdesdk-obj, then OBJ_REPLACEMENT should be set to s#kdesdk#kdesdk-obj#.
SEE ALSO
create_makefiles(1)
AUTHORS
create_makefile was written by David Faure<faure@kde.org> and others. This manual page was prepared by Ben Burton<bab@debian.org> for the
Debian GNU/Linux system (but may be used by others).
[FIXME: source] March 8, 2003 CREATE_MAKEFILE