Can't compile

Discussion Forum for YPOPs!/Linux.


Can't compile

Postby dcroxton on September 9th, 2004, 6:21 pm

I would appreciate it if a kind soul would help me figure out my compile problem. I have installed everything I can find and it still doesn't work. And to the person who posted this line:

"Can we have the source so we don't have to fight with binaries?"

I can only ask, "Are you kidding?" Installing programs in Linux has been a nightmare for me after 18 months of trying. There is always some library missing somewhere.

My output:

[root@localhost yahoopops]# ./ypcompile
This script will set the necessary parameters for compilation
Use this script for compilation purposes
Default location for binary files is /usr/local/bin
Do you want to use the default location ?(Y/N)
Y
Default location for library files is /usr/local/lib
Do you want to use the default location ?(Y/N)
Y
Default location for config files(ypopsrc) is /usr/local/share
Do you want to use the default location ?(Y/N)
Y
Ypops! uses openssl libraries from http://www.openssl.org
Please download and compile any version greater than or equal to 0.9.7a
Enter the root directory of your openssl installation
/usr
Ypops! uses Curl libraries from http://curl.haxx.se/
Please download and compile any version greater than or equal to 7.10.5
Enter the root directory of your curl installation
/usr/local
Yahoopops! uses mimepp sources from http://ypops.sourceforge.net/downloads
Please download it and extract to any directory.DO NOT COMPILE IT.
Enter the root directory of your mimepp sources
/home/arklinux/Download/mimepp-1.3.3
Starting compilation process
rm -f ypops
make mimelib;make libre_lib;make ypops
make[1]: Entering directory `/home/arklinux/Download/yahoopops/src'
cd /home/arklinux/Download/mimepp-1.3.3;make -f makefile-unix rel_lib;cd /home/arklinux/Download/yahoopops/src
make[2]: Entering directory `/home/arklinux/Download/mimepp-1.3.3'
ar rc ./rel/libmimepp_core.a ./rel/address.o ./rel/addrlist.o ./rel/body.o ./rel/bodypart.o ./rel/bounds.o ./rel/boyermor.o ./rel/datetime.o ./rel/disptype.o ./rel/dw_cte.o ./rel/dw_date.o ./rel/dw_mime.o ./rel/encoded.o ./rel/entity.o ./rel/except.o ./rel/field.o ./rel/fieldbdy.o ./rel/group.o ./rel/headers.o ./rel/mailbox.o ./rel/mboxlist.o ./rel/mechansm.o ./rel/mediatyp.o ./rel/message.o ./rel/msgcmp.o ./rel/msgid.o ./rel/param.o ./rel/stamp.o ./rel/string.o ./rel/system.o ./rel/text.o ./rel/token.o
ranlib ./rel/libmimepp_core.a
ar rc ./rel/libmimepp_util.a ./rel/applfile.o ./rel/binhex.o ./rel/uuencode.o
ranlib ./rel/libmimepp_util.a
make[2]: Leaving directory `/home/arklinux/Download/mimepp-1.3.3'
make[1]: Leaving directory `/home/arklinux/Download/yahoopops/src'
make[1]: Entering directory `/home/arklinux/Download/yahoopops/src'
cd ../lib/re_lib;make;cd ../../src
make[2]: Entering directory `/home/arklinux/Download/yahoopops/lib/re_lib'
ar q libre_lib.a regexp.o regsub.o regerror.o relib_enhance.o
make[2]: Leaving directory `/home/arklinux/Download/yahoopops/lib/re_lib'
make[1]: Leaving directory `/home/arklinux/Download/yahoopops/src'
make[1]: Entering directory `/home/arklinux/Download/yahoopops/src'
g++ -O3 -Wno-non-template-friend -Wno-deprecated -O -I../lib/re_lib -I/home/arklinux/Download/mimepp-1.3.3/src -I/home/arklinux/Download/mimepp-1.3.3/examples/email -I/usr/local/include -I/usr/include -D_REENTRANT -DCONFIG_FILE_LOC="\"/usr/local/share\"" -o ypops ConfigAdvancedPage.o ConfigEmailPage.o ConfigEmailPreferencesPage.o ConfigFoldersPage.o ConfigLogPage.o ConfigMailSmtpPage.o ConfigMiscPage.o ConfigNetworkPage.o ConfigProxyPage.o ConfigSecurityPage.o ConfigureDlg.o CustomPropertyPage.o DataHolder.o DisclaimerDlg.o Email.o HttpClient.o HttpClientResponse.o HttpSession.o HyperLink.o LogFile.o mainfrm.o OptionsTreeDlg.o ProgressWnd.o ServiceClient.o SmtpListener.o stdafx.o trayicon.o UpdateYahooPOPsDlg.o vsscanf.o WebBrowser.o YAHOOPOPS.o YahooSessionCache.o YahooStuff.o EmailMessage.o EmailAttach.o EmailAttachList.o EmailText.o EmailDate.o EmailAddress.o EmailAddressList.o ../lib/re_lib/libre_lib.a /home/arklinux/Download/mimepp-1.3.3/rel/libmimepp_core.a /home/arklinux/Download/mimepp-1.3.3/rel/libmimepp_util.a /home/arklinux/Download/mimepp-1.3.3/rel/libmimepp_net.a /usr/local/lib/libcurl.a -lstdc++ -lpthread -lnsl /usr/lib/libssl.a /usr/lib/libcrypto.a -ldl
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x4b): In function `exit_zlib':
/home/arklinux/Download/curl-7.12.1/lib/content_encoding.c:68: undefined reference to `inflateEnd'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0xb0): In function `Curl_unencode_deflate_write':
/home/arklinux/Download/curl-7.12.1/lib/content_encoding.c:106: undefined reference to `inflate'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x114):/home/arklinux/Download/curl-7.12.1/lib/content_encoding.c:118: undefined reference to `inflateEnd'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x175):/home/arklinux/Download/curl-7.12.1/lib/content_encoding.c:90: undefined reference to `inflateInit_'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x310): In function `Curl_unencode_gzip_write':
/home/arklinux/Download/curl-7.12.1/lib/content_encoding.c:335: undefined reference to `inflate'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x36e):/home/arklinux/Download/curl-7.12.1/lib/content_encoding.c:348: undefined reference to `inflateEnd'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x51c):/home/arklinux/Download/curl-7.12.1/lib/content_encoding.c:234: undefined reference to `inflateInit2_'
collect2: ld returned 1 exit status

dcroxton
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 2
Joined: July 28th, 2004, 10:37 am

Postby jabetcha on September 10th, 2004, 12:37 pm

Read my post in the "How I got it to compile and work with fetchmail" thread.

Here's the link for the navigationally challenged. http://ypops.sourceforge.net/index.php?name=PNphpBB2&file=viewtopic&p=5750#5750
Last edited by jabetcha on September 20th, 2004, 1:26 pm, edited 1 time in total.
jabetcha
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 6
Joined: May 20th, 2004, 7:20 am
Location: Florida

Postby dcroxton on September 10th, 2004, 2:43 pm

>Read my post in the " How I got it to compile and work with fetchmail" thread.

I did, and was momentarily ecstatic. However, when I went to edit "WebBrowser.cpp," I couldn't find the lines indicated (either by number or by searched for their purported contents). I'm using (or trying to use) .6, so maybe that's the problem.
dcroxton
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 2
Joined: July 28th, 2004, 10:37 am

Postby gbil on September 11th, 2004, 11:25 am

Where did you get mimepp from, because I can't find it in yahoopops website.
gbil
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 3
Joined: August 15th, 2003, 11:22 am

Postby nniehoff on September 13th, 2004, 9:46 am

New Person Same problem. I got mimepp from:

ftp://ftp.library.tver.ru/pub/unix/libs ... 3.3.tar.gz

Thanks to another post. I get this compile error which I believe is the same as before:

Code: Select all
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x5b): In function `exit_zlib':
/home/nniehoff/src/curl-7.12.1/lib/content_encoding.c:68: undefined reference to `inflateEnd'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0xc0): In function `Curl_unencode_deflate_write':
/home/nniehoff/src/curl-7.12.1/lib/content_encoding.c:106: undefined reference to `inflate'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x14e):/home/nniehoff/src/curl-7.12.1/lib/content_encoding.c:90: undefined reference to `inflateInit_'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x17e):/home/nniehoff/src/curl-7.12.1/lib/content_encoding.c:118: undefined reference to `inflateEnd'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x330): In function `Curl_unencode_gzip_write':
/home/nniehoff/src/curl-7.12.1/lib/content_encoding.c:335: undefined reference to `inflate'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x3c6):/home/nniehoff/src/curl-7.12.1/lib/content_encoding.c:234: undefined reference to `inflateInit2_'
/usr/local/lib/libcurl.a(content_encoding.o)(.text+0x44f):/home/nniehoff/src/curl-7.12.1/lib/content_encoding.c:348: undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
make[1]: *** [ypops] Error 1
make[1]: Leaving directory `/home/nniehoff/src/yahoopops/src'
make: *** [all] Error 2
Yahoopops has not yet been built.Please build it


Thanks for any help,

Nick
nniehoff
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: February 29th, 2004, 11:41 am


Return to YPOPs!/Linux

Who is online

Users browsing this forum: No registered users and 0 guests

paw prints
SourceForge