[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: pcb lesstif compiling on debian unstable





Dan McMahill wrote:
> John Griessen wrote:
>> I have tried compiling --with-gui=lesstif  and configure can't find 
>> that i have a debian lesstif package installed.
>>
>> cvs -z3 update -PdA
>>   671  cvs -z3 update -C
>>   672  make distclean
>>   673  ls
>>   674  gvim INSTALL
>>   675  ./configure --with-gui=lesstif --prefix=/opt/pcblt
>>

>> checking for main in -lXmu... no
>> checking for main in -lXpm... yes
>> checking for XmCreateMainWindow in -lXm... yes
>> checking Xm/Xm.h usability... no
>> checking Xm/Xm.h presence... no
>> checking for Xm/Xm.h... no
>> configure: error: You don't seem to have the Lesstif development 
>> environment installed.
>>
>> partial list of the debian package contents:
>>
>>
>> /usr/lib/libMrm.a
>> /usr/lib/libXm.a
>> /usr/lib/libMrm.so
>> /usr/lib/libXm.so
>> /usr/share/doc/lesstif2-dev/ReleaseNotes.txt.gz

> 
> what does config.log show?

configure:2541: checking for gcc option to accept ANSI C
configure:2611: gcc  -c -g -O2  conftest.c >&5
configure:2617: $? = 0
configure:2621: test -z
			 || test ! -s conftest.err
configure:2624: $? = 0
configure:2627: test -s conftest.o
configure:2630: $? = 0
configure:2648: result: none needed
configure:2666: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2672: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
.
.
.
.
.
configure:3160: checking how to run the C preprocessor
configure:3195: gcc -E  conftest.c
configure:3201: $? = 0
configure:3233: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3239: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "pcb"
| #define VERSION "1.99t"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3278: result: gcc -E
configure:3302: gcc -E  conftest.c
configure:3308: $? = 0
configure:3340: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3346: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "pcb"
| #define VERSION "1.99t"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3393: checking for gawk
configure:3419: result: gawk
.
.
.
.
.
.
configure:4850: gcc -o conftest -g -O2   conftest.c -lm   >&5
conftest.c:21: warning: conflicting types for built-in function `sqrt'
configure:4856: $? = 0
configure:4860: test -z
			 || test ! -s conftest.err
configure:4863: $? = 0
configure:4866: test -s conftest
configure:4869: $? = 0
configure:4882: result: yes
configure:4894: checking for gethostbyname in -lxnet
configure:4924: gcc -o conftest -g -O2   conftest.c -lxnet  -lm  >&5
/usr/bin/ld: cannot find -lxnet
collect2: ld returned 1 exit status
configure:4930: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "pcb"
| #define VERSION "1.99t"
| #define YYTEXT_POINTER 1
| #define M4 /usr/bin/m4
| #define GNUM4 "/usr/bin/m4"
| #define HAVE_LIBM 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gethostbyname ();
| int
| main ()
| {
| gethostbyname ();
|   ;
|   return 0;
| }
configure:4956: result: no
configure:4968: checking for yywrap in -lfl
configure:5030: result: yes
configure:5045: checking for strerror
configure:5102: gcc -o conftest -g -O2   conftest.c -lfl -lm  >&5
configure:5108: $? = 0
configure:5112: test -z
			 || test ! -s conftest.err
configure:5115: $? = 0
configure:5118: test -s conftest
configure:5121: $? = 0
configure:5133: result: yes
configure:5148: checking for regcomp
configure:5205: gcc -o conftest -g -O2   conftest.c -lfl -lm  >&5
configure:5211: $? = 0
configure:5215: test -z
			 || test ! -s conftest.err
configure:5218: $? = 0
configure:5221: test -s conftest
configure:5224: $? = 0
configure:5236: result: yes
configure:5148: checking for re_comp
configure:5205: gcc -o conftest -g -O2   conftest.c -lfl -lm  >&5
configure:5211: $? = 0
configure:5215: test -z
			 || test ! -s conftest.err
configure:5218: $? = 0
configure:5221: test -s conftest
configure:5224: $? = 0
configure:5236: result: yes
configure:5252: checking for logf
configure:5309: gcc -o conftest -g -O2   conftest.c -lfl -lm  >&5
conftest.c:43: warning: conflicting types for built-in function `logf'
configure:5315: $? = 0
configure:5319: test -z
			 || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5252: checking for expf
configure:5309: gcc -o conftest -g -O2   conftest.c -lfl -lm  >&5
conftest.c:44: warning: conflicting types for built-in function `expf'
configure:5315: $? = 0
configure:5319: test -z





> 
> If you check the full list of the package contents is there a "Xm/Xm.h"?
> 
yes:

.
.
.
/usr/include/Xm/XmAll.h
/usr/include/Xm
/usr/include/Xm/Xm.h
/usr/include/Xm/ArrowB.h
.
.
.

> -Dan
> 
> 
> 
> _______________________________________________
> geda-dev mailing list
> geda-dev@moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
> 


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev