|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
Compilare e' bello..
Salve come al solito mi metto a compilare...
Stavolta e' il turno di LDAP checking for cc... cc checking for ar... no checking for gar... no configure: error: Unable to locate ar(1) or suitable replacement. Check PATH or set AR. sapete cosa sia questo ar????? grazie
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
E' il programmino che consente di gestire le librerie statiche (file .a).
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
Si grazie ho risolto... Gia' era anche installato..
adesso sto guardando perche' mi si e' fermato cosi' checking for gcc... (cached) cc checking whether the C compiler (cc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. dal config.log configure:2665: checking for cc configure:2707: checking for ar configure:2757: checking for Cygwin environment configure:2773: cc -c conftest.c 1>&5 /usr/ucb/cc: language optional software package not installed configure: failed program was: #line 2762 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:2789: checking for mingw32 environment configure:2801: cc -c conftest.c 1>&5 /usr/ucb/cc: language optional software package not installed
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
il config parla Cygwin.. solo che nn trovo da dove scaricare..
il fatto e' che nn sono manco convinto che e' lui il problema sto cercando...
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#5 | |
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
Quote:
ma stai compilando su solaris? |
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
si sto compilando su solaris
Ma a che serve sto cygwin??? # Cygwin is a Linux-like environment for Windows. It consists of two parts: A DLL (cygwin1.dll) which acts as a Linux emulation layer providing substantial Linux API functionality. # A collection of tools, which provide Linux look and feel. The Cygwin DLL works with all non-beta, non "release candidate", ix86 32 bit versions of Windows since Windows 98, with the exception of Windows CE. PER WINDOWS?????????????
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
lascia perdere cygwin.
hai installato questi packages? SUNWscpu SUNWbtool se non usi il gcc hai bisogno anche di SPROcc |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
si sono installati...
credo che sto utilizzando il gcc mmm ma di quale tool ha bisogno??
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
esiste /usr/bin/cc ??
e /usr/ccs/bin/ucbcc ? |
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
ho
/usr/ucb/cc e come dice lui nel config gli manca un optional package.. che pero' nn so qale'
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#11 |
Moderatore
Iscritto dal: Nov 2003
Messaggi: 16211
|
Sotto Solaris, /usr/ucb/cc e' il compilatore C della Sun, che non e' il gcc, e che e' il principale motivo per cui io odio Solaris.
__________________
Ubuntu è un'antica parola africana che significa "non so configurare Debian" ![]() Scienza e tecnica: Matematica - Fisica - Chimica - Informatica - Software scientifico - Consulti medici REGOLAMENTO DarthMaul = Asus FX505 Ryzen 7 3700U 8GB GeForce GTX 1650 Win10 + Ubuntu |
![]() |
![]() |
![]() |
#12 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
ok ho risolto fino a qui
cosi' CC=gcc ./configure adesso ha un altro problema.. vediamo se riesco a risolvere casomai... RIPOSTO a voi thanks ![]()
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#13 | |
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
Quote:
no e' uno script di shell che puoi far puntare a quello che vuoi, anche al gcc. il compilatore di sun e' in /usr/ccs/bin/ucbcc (che e' un link a /opt/SUNWspro/bin/acc ) ![]() |
|
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
Prossimo problema....
Scusate.. Imparero' anche io prima o poi ![]() checking for pthread.h... yes checking POSIX thread version... 6 checking for LinuxThreads pthread.h... no checking for GNU Pth pthread.h... no checking for sched.h... yes checking for pthread_create in default libraries... no checking for pthread link with -kthread... no checking for pthread link with -pthread... no checking for pthread link with -pthreads... no checking for pthread link with -mthreads... no checking for pthread link with -thread... no checking for pthread link with -lpthread -lmach -lexc -lc_r... no checking for pthread link with -lpthread -lmach -lexc... no checking for pthread link with -lpthread -Wl,-woff,85... no checking for pthread link with -lpthread... no checking for pthread link with -lc_r... no checking for pthread link with -threads... no checking for pthread link with -lpthreads -lmach -lexc -lc_r... no checking for pthread link with -lpthreads -lmach -lexc... no checking for pthread link with -lpthreads -lexc... no checking for pthread link with -lpthreads... no configure: error: could not locate usable POSIX Threads Che cosa sarebbe POSIX??? Grazie x la vostra disponibilita'
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
POSIX e' un insieme di specifiche.
ti manca una libreria, quella dei thread posix. ti cerco un link per scaricarla... |
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
Non hai trovato??
io neppure
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#17 | |
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
Quote:
no ![]() ho cercato sul sito di GNU ma non li trovo ![]() |
|
![]() |
![]() |
![]() |
#18 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
Mmm mi sa che nn riusciro a compilarlo allora...
__________________
...Ordunque... |
![]() |
![]() |
![]() |
#19 | |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Quote:
Credo che anche qui hai una libreria messa in chissà quale directory...
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
![]() |
![]() |
![]() |
#20 |
Senior Member
Iscritto dal: Feb 2004
Messaggi: 1209
|
si credo anche io..
dici che devo aggiungere qalche path strano a LD_LIBRARY_PATH??????
__________________
...Ordunque... |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 01:39.