Problems compiling on Solaris

Sam Hart <[email protected]>
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
I am having a great deal of difficulty compiling Cone (0.57) on Solaris. 
This Solaris box is a donated one to my free-software group Tux4Kids, and 
is co-maintained between myself and the person who is providing the 
network connection to it. Long story short, it has some strange 
installation and path requirements.

I have aspell compiled, and am installing into /usr, so I issue configure 
thusly:
 ./configure --with-spellcheck=aspell --prefix=/usr

Additionally, I have ncurses headers as well as other libraries and 
headers installed in some strange places (dont ask) so I have the 
following environmental variables set:
 CPPFLAGS=/opt/samfw/include:/opt/samfw/include/openssl
 LDFLAGS=/opt/samfw/lib

However, during the configure, I get:
checking for C compiler default output... configure: error: C compiler cannot create executables

which seems to be happenning when the configure script recursively goes 
into the unicode/ directory. From the config.log file, this appears to be 
where the bottlekneck is:
configure: failed program was:
| #line 2196 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2262: error: C compiler cannot create executables

Taking this snippet out and compiling it on my own, I get no problems.

Any suggestions what I should try?

-- 
Sam Hart
University/Work addr. <[email protected]>
Personal addr. <[email protected]>
Alternative <[email protected]>
end



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.