[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OFF TOPIC] compilação
From: |
Marcelo Bruno |
Subject: |
[OFF TOPIC] compilação |
Date: |
Fri, 6 Aug 2004 14:16:26 -0300 |
Prezados colegas
perdoem o offtopic... sei que a lista é sobre shellscript, tenho
acompanhado (aprendendo) o ótimo nível da lista mas sei que há colegas
experientes que podem dar alguma dica.
preciso compilar os fontes de um aplicativo e a saída do comando ./configure é:
./configure: The following variables need values. They may be set in
the environment or in the file CUSTOMIZE. Variables referring to
executable programs needn't be set if the relevant directory is added to
PATH. In any case, ./configure should probably be rerun. See file INSTALL
for details.
VARIABLE MEANING EXAMPLE
-------- ------- -------
FC FORTRAN compiler /bin/f77
LD_X11 X Window System library -L/usr/lib/X11 -lX11
olhei o arquivo CUSTOMIZE.linux
# This file is for customizing the configuation process performed by
# `./configuration'. This file consists of sh(1) variable-definition lines.
# The value given to those variable by this file will override their default
# values.
#
# You can also customize the configuration process via the environment
# variables seen by ./configure. For example:
#
# In csh(1):
# % setenv CC acc
# & setenv CFLAGS -g
# % ./configure
#
# In sh(1):
# $ CC=acc CFLAGS=-g ./configure
#
# Variables in this file override the environmental ones.
#
#############################################################################
#
# Type of C compiler (default is `cc'):
CC='gcc -I/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include
-I/usr/include -I../../include/ -I../../../ppl/include/xgks/ '
#
# C compiler flags (default is `-O'):
CFLAGS='-O2 -mcpu=i486'
#
# C preprocessor flags (default is `-DNDEBUG'):
# CPPFLAGS=-DDEBUG
#
# Installation prefix (default is `../..'):
prefix=..
FC='g77 -fno-second-underscore -fno-backslash -fdollar-ok -fugly-init
-fugly-logint -fintrin-case-any -ffixed-line-length-132 -malign-double
'
OS=linux
LD_X11='-L/usr/X11R6/lib -lX11'
Se entedi algo preciso definir as variáveis CC, FC, LD_X11 com o
caminho para o compilador e bibliotecas do Xwindow...
se eu fizer
./configure $CC $FC $LD_X11
não dá certo!
se alguém quiser ajudar serei grato (pode responder em PVT)
obrigado
Marcelo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [OFF TOPIC] compilação,
Marcelo Bruno <=