64bit AMD or Intel

Discussion Forum for YPOPs!/Linux.


64bit AMD or Intel

Postby bojce on September 29th, 2007, 3:40 am

I can`t find 64bit version of ypops, and i wonder is there any plan`s for this?
I`m a Ubuntu 64bit user, and i hope there is a chance for me (and other users of 64bit distros). Any help,news, plans...?

bojce
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 3
Joined: September 29th, 2007, 3:23 am

Postby anujseth on September 29th, 2007, 10:06 am

We don't have access to a 64-bit system currently.

What you can do though is to get the code from CVS and compile it on a 64-bit system, if there is a real need for it.

The 32-bit version otherwise should work just fine on a 64-bit system. Are you facing some problems which prevents it from working?
Anuj Seth - YPOPs! Dev & Web Admin
Check out my latest project -- Twitdom - Twitter Applications Database
User avatar
anujseth
Site Admin
Site Admin
 
Posts: 452
Joined: June 24th, 2003, 9:57 am

Postby bojce on September 29th, 2007, 2:59 pm

Last week i move from Ubuntu 7.04 32bit (with ypops) to 64bit. I didn`t install ypops because i can`t find 64bit version.
I would like to use ypops on my PC, but i`m not familiar to compile. When i try to install ypops_0.9.5-1_i386.deb, package installer show an error: wrong architecture. What next?

(Sorry, but english is not my vernacular language)
bojce
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 3
Joined: September 29th, 2007, 3:23 am

Postby stace on November 15th, 2007, 11:23 pm

bojce, I'm in the same boat for the millionth time. If I'd known so little software was available for 64 I'd have bought a different chip!

Hopefully Google will teach me how to compile. :/
stace
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: November 15th, 2007, 11:19 pm

Re: 64bit AMD or Intel

Postby Tidder on April 1st, 2008, 3:04 pm

Using this information from Thomas Skariah's Blog, I was able to edit the source from Here and compile for my 64-bit version of Ubuntu Gutsy.

Of course it isn't automated, binaries need placed in the correct spot, log folder needs created, etc. But it's working fine as far as recieving mail. I have not yet had a chance to test sending mail.

Anonymous said...

Hi Thomas,

I had to make some changes before it would successfully compile on an AMD64 system (Xubuntu 6.06 x86_64, 2.6.15-29-amd64-generic):
1) Cleared PLATFORM_FLAGS from Makefile
2) src/ServiceClient.cpp Changed:
2a) UINT ServiceClientThread(void *lpParameter)
to UINT ServiceClientThread(int lpParameter)
2b) SOCKET sock = (reinterpret_cast<SOCKET>(lpParameter));
to SOCKET sock = lpParameter;
3) src/ServiceClient.h Changed:
3a) UINT ServiceClientThread(void *lpParameter);
to UINT ServiceClientThread(int lpParameter);
4) src/SmtpListener.cpp Changed:
4a) UINT ServiceSmtpClientThread(void *lpParameter);
to UINT ServiceSmtpClientThread(int lpParameter);
4b) logFile.Write(LOG_ADVANCED,"Got SMTP request on socket %d\n", (int)socket);
to logFile.Write(LOG_ADVANCED,"Got SMTP request on socket %d\n", (int)sockfd);
4c) UINT ServiceSmtpClientThread(void *lpParameter)
to UINT ServiceSmtpClientThread(int lpParameter)
4d) SOCKET sock = (reinterpret_cast<SOCKET>(lpParameter));
to SOCKET sock = lpParameter;

Thanks and hope the above helps.
mrfitz


Hope this helps someone out there, and hopefully someday I'll figure out how to build a .deb package. :)
Binaries are available, just ask. Though I'm not 100% sure what all would be needed aside from the binary, anyone have ideas on dependancies? I just haven't had time to look yet.
Tidder
YPOPs! Rookie
YPOPs! Rookie
 
Posts: 11
Joined: April 1st, 2008, 2:41 pm

Re: 64bit AMD or Intel

Postby tskariah on June 28th, 2008, 3:59 pm

debian package is now available for 64bit version of Ubuntu also. Check YPOPs for Ubuntu for the instructions.
tskariah
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 7
Joined: April 6th, 2007, 1:09 pm

Re: 64bit AMD or Intel

Postby bojce on June 28th, 2008, 4:26 pm

Thanks! :D
bojce
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 3
Joined: September 29th, 2007, 3:23 am

Re: 64bit AMD or Intel

Postby sghayal on July 26th, 2008, 9:25 am

I just ported ypops to 64-bit with mimepp 1.3.5

I had to do lot of rebuilds and code search.

Most notable changes were made to makefiles and couple of places in ypops code to handle 64-bit pointers correctly.

If anyone interested in that then I can pass on my code as zip file to them.

e-mail me at sghayal@yahoo.com

Cheers,

Sandip
sghayal
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 9
Joined: April 17th, 2008, 7:47 am


Return to YPOPs!/Linux

Who is online

Users browsing this forum: No registered users and 1 guest

paw prints
cron
SourceForge