Re: missing dep in configure



On Fri, 2006-10-27 at 08:16 +0700, Markus Bertheau wrote:
> I'm getting this upon compilation, so there is probably a check for
> nspr missing in configure, or it's not working correctly. this is
> ubuntu 6.06 with all latest updates.

Right. This is a missing check in the camel's configure.ac (in
libtinymail-camel/camel-lite/configure.ac). I will try to figure out how
to add it.

Normally it should mark your system as one that will have no support for
SSL. It looks like it decided that yours does and tried nevertheless.
Resulting in not finding nspr.h of course.

You can, as a fix, install for example firefox-dev or the development
package that contains nspr.h

Feel free to try to fix this correctly (searching for the support and
correctly detecting it) and send me a patch. 

Thanks for the bug report.

> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
> -DG_LOG_DOMAIN=\"e-data-server\"
> -DE_DATA_SERVER_PREFIX=\"/opt/tinymail\" -DEVOLUTION_LOCALEDIR=\"""\"
> -DE_DATA_SERVER_EXTENSIONDIR=\"\" -DE_DATA_SERVER_IMAGESDIR=\"\"
> -DE_DATA_SERVER_UI_GLADEDIR=\"""\" -I/usr/include/libxml2
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I    -g -O2
> -MT e-msgport.o -MD -MP -MF ".deps/e-msgport.Tpo" -c -o e-msgport.o
> e-msgport.c; \
>         then mv -f ".deps/e-msgport.Tpo" ".deps/e-msgport.Po"; else rm
> -f ".deps/e-msgport.Tpo"; exit 1; fi
> e-msgport.c:39:18: error: nspr.h: Nie ma takiego pliku ani katalogu
> ^^^^^^^^^^^^^^^^^^^^^^^^^ (it says no such file or directory)
> e-msgport.c:491: error: syntax error before 'PRFileDesc'
> e-msgport.c:491: warning: no semicolon at end of struct or union
> e-msgport.c:503: error: syntax error before '*' token
> e-msgport.c: In function 'e_prpipe':
> e-msgport.c:509: error: 'fds' undeclared (first use in this function)
> e-msgport.c:509: error: (Each undeclared identifier is reported only once
> e-msgport.c:509: error: for each function it appears in.)
> e-msgport.c:509: error: 'PR_FAILURE' undeclared (first use in this function)
> e-msgport.c: At top level:
> e-msgport.c:538: error: syntax error before '*' token
> e-msgport.c: In function 'msgport_sync_with_prpipe':
> e-msgport.c:542: error: 'prfd' undeclared (first use in this function)
> e-msgport.c:545: error: 'PR_PENDING_INTERRUPT_ERROR' undeclared (first
> use in this function)
> e-msgport.c: In function 'e_msgport_new':
> e-msgport.c:561: error: invalid application of 'sizeof' to incomplete
> type 'EMsgPort'
> e-msgport.c:562: error: dereferencing pointer to incomplete type
> e-msgport.c:563: error: dereferencing pointer to incomplete type
> e-msgport.c:564: error: dereferencing pointer to incomplete type
> e-msgport.c:566: error: dereferencing pointer to incomplete type
> e-msgport.c:567: error: dereferencing pointer to incomplete type
> e-msgport.c: In function 'e_msgport_destroy':
> e-msgport.c:578: error: dereferencing pointer to incomplete type
> e-msgport.c:579: error: dereferencing pointer to incomplete type
> e-msgport.c:580: error: dereferencing pointer to incomplete type
> e-msgport.c:583: error: dereferencing pointer to incomplete type
> e-msgport.c:584: error: dereferencing pointer to incomplete type
> e-msgport.c:585: error: dereferencing pointer to incomplete type
> e-msgport.c:589: error: dereferencing pointer to incomplete type
> e-msgport.c:590: error: invalid application of 'sizeof' to incomplete
> type 'EMsgPort'
> e-msgport.c: In function 'e_msgport_fd':
> e-msgport.c:600: error: dereferencing pointer to incomplete type
> e-msgport.c:601: error: dereferencing pointer to incomplete type
> e-msgport.c:602: error: dereferencing pointer to incomplete type
> e-msgport.c:603: error: dereferencing pointer to incomplete type
> e-msgport.c:604: error: dereferencing pointer to incomplete type
> e-msgport.c: At top level:
> e-msgport.c:610: error: syntax error before '*' token
> e-msgport.c:612: error: conflicting types for 'e_msgport_prfd'
> e-msgport.h:71: error: previous declaration of 'e_msgport_prfd' was here
> e-msgport.c: In function 'e_msgport_prfd':
> e-msgport.c:613: error: 'PRFileDesc' undeclared (first use in this function)
> e-msgport.c:613: error: 'prfd' undeclared (first use in this function)
> e-msgport.c:617: error: dereferencing pointer to incomplete type
> e-msgport.c:618: error: dereferencing pointer to incomplete type
> e-msgport.c:619: error: dereferencing pointer to incomplete type
> e-msgport.c:620: error: dereferencing pointer to incomplete type
> e-msgport.c:621: error: dereferencing pointer to incomplete type
> e-msgport.c: In function 'e_msgport_put':
> e-msgport.c:632: error: 'PRFileDesc' undeclared (first use in this function)
> e-msgport.c:632: error: 'prfd' undeclared (first use in this function)
> e-msgport.c:638: error: dereferencing pointer to incomplete type
> e-msgport.c:642: error: dereferencing pointer to incomplete type
> e-msgport.c:655: error: dereferencing pointer to incomplete type
> e-msgport.c:660: error: 'PR_PENDING_INTERRUPT_ERROR' undeclared (first
> use in this function)
> e-msgport.c:670: error: dereferencing pointer to incomplete type
> e-msgport.c:671: error: dereferencing pointer to incomplete type
> e-msgport.c: In function 'e_msgport_wait':
> e-msgport.c:681: error: dereferencing pointer to incomplete type
> e-msgport.c:683: error: dereferencing pointer to incomplete type
> e-msgport.c:688: error: dereferencing pointer to incomplete type
> e-msgport.c:691: error: dereferencing pointer to incomplete type
> e-msgport.c:694: error: dereferencing pointer to incomplete type
> e-msgport.c: In function 'e_msgport_get':
> e-msgport.c:706: error: dereferencing pointer to incomplete type
> e-msgport.c:708: error: dereferencing pointer to incomplete type
> e-msgport.c:711: error: dereferencing pointer to incomplete type
> e-msgport.c:714: error: dereferencing pointer to incomplete type
> e-msgport.c:717: error: dereferencing pointer to incomplete type
> make[5]: *** [e-msgport.o] Błąd 1
> make[5]: Opuszczenie katalogu
> `/home/markus/src/tinymail/trunk/libtinymail-camel/camel-lite/libedataserver'
> make[4]: *** [all-recursive] Błąd 1
> make[4]: Opuszczenie katalogu
> `/home/markus/src/tinymail/trunk/libtinymail-camel/camel-lite'
> make[3]: *** [all] Błąd 2
> make[3]: Opuszczenie katalogu
> `/home/markus/src/tinymail/trunk/libtinymail-camel/camel-lite'
> make[2]: *** [all-recursive] Błąd 1
> make[2]: Opuszczenie katalogu
> `/home/markus/src/tinymail/trunk/libtinymail-camel'
> make[1]: *** [all-recursive] Błąd 1
> make[1]: Opuszczenie katalogu `/home/markus/src/tinymail/trunk'
> make: *** [all] Błąd 2
> markus katerina2:~/src/tinymail/trunk$
> 
> 
-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
blog: http://pvanhoof.be/blog




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