How to compile from source code?


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications How to compile from source code?
Prev   Next
# 2  
Old 05-27-2008
Try 'export CC="/usr/sfw/bin/gcc"' before running the compile.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Create a C source and compile inside Python 1.4.0 to 3.7.0 in Python for ALL? platforms...

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

2. Programming

C++ for dummies: how to compile a code.

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

3. Programming

Compile and debug Vim source code

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

4. AIX

How to compile a package in AIX when we download its source?

How to compile a package surce in AIX when we download its source? (2 Replies)
Discussion started by: johnveslin
2 Replies

5. Programming

How to compile openGL code which is in C++ in ubuntu

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. Solaris

Error when compile source code

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

7. SuSE

How do I compile source undfer Suse Linux?

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

8. Programming

error trying to compile a c++ source file

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

9. Programming

compile rpm-4.0 source

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
Login or Register to Ask a Question
APT-BUILD(1)						      General Commands Manual						      APT-BUILD(1)

NAME
apt-build - Fetch sources and build packages optimized for your architecture. SYNOPSIS
apt-build [ options ] [ update ] [ upgrade ] [ world ] [ install pkg ] [ remove pkg ] [ info pkg ] DESCRIPTION
apt-build is an apt-get frontend to build and install architecture optimized packages. COMMANDS
update Retrieve new lists of packages upgrade Perform an upgrade world Rebuild your system install Build and install new packages source Download and extract source in the build directory info Info on a package which could be built remove Remove packages clean-build Erase built packages clean-sources Call debian/rules clean in source directories build-source Build source without installing them update-source Update sources and rebuild them if they are missing in the repository build-repository Rebuild the repository OPTIONS
--help Shows help --nowrapper Do not use the gcc wrapper --remove-builddep Remove build-dependencies installed by apt-build --no-source Don't download source --build-dir Specify build-dir --build-only Build package only --rebuild Rebuild a package --reinstall Build and install an already installed package --build-command <command> Use this command to build package --patch <file> Apply this patch before build (you can use this option one or several times) --patch-strip, -p <number> Prefix to strip on patch (0 = -p0, 1 = -p1 ...) --yes, -y Assume yes --purge Use purge instead of remove --noupdate Do not run 'apt-get update' before package installation --sources-list Specify sources.list file --apt-get Specify an alternative apt-get command --apt-cache Specify an alternative apt-cache command --force-yes Force yes --source Do not download source (sources are extracted already) --repository-dir Specify the repository directory --target-release Distribution to fetch packages from --config Specify an alternative configuration file --version, -v Show version BUGS
Many. AUTHOR
apt-build was written by Julien Danjou <acid@debian.org> with many contributors. 3rd Berkeley Distribution November 2003 APT-BUILD(1)