DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th July 2008
BlueJayofEvil BlueJayofEvil is offline
Real Name: Aaron
New User
 
Join Date: Jul 2008
Location: Minnesota, USA
Posts: 8
Question Wine on FreeBSD 7.0 amd64

I've been doing some searching and can't find much information on this. I'm trying to install and/or compile Wine on FreeBSD 7.0 64-bit version. So far I've found little help regarding workarounds, etc. I know some GNU/Linux distributions can use the 32-bit libs to run wine on a 64-bit installation. Is this possible in FreeBSD?
Reply With Quote
  #2   (View Single Post)  
Old 14th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

in wine's Makefile, there's this line
Code:
ONLY_FOR_ARCHS=	i386
http://www.freebsd.org/cgi/cvsweb.cg...e=text%2Fplain

Which i believe explains everything.....

Last edited by graudeejs; 14th July 2008 at 02:48 PM.
Reply With Quote
  #3   (View Single Post)  
Old 14th July 2008
Nirbo Nirbo is offline
Real Name: Nicholas Kirby
Fdisk Soldier
 
Join Date: May 2008
Location: Edmonton, Alberta, Canada
Posts: 68
Default

The standard port contains the only for i386 line

http://wiki.winehq.org/WineOn64bit This website details how to compile it on numerous Linux distros. Perhaps with a bit more research and a little luck (maybe a virgin sacrifice?) you can figure out how to build it on FreeBSD with some library linking :O

Probably not possible to use the port though.
Reply With Quote
  #4   (View Single Post)  
Old 14th July 2008
BlueJayofEvil BlueJayofEvil is offline
Real Name: Aaron
New User
 
Join Date: Jul 2008
Location: Minnesota, USA
Posts: 8
Default

Quote:
Originally Posted by Nirbo View Post
The standard port contains the only for i386 line

http://wiki.winehq.org/WineOn64bit This website details how to compile it on numerous Linux distros. Perhaps with a bit more research and a little luck (maybe a virgin sacrifice?) you can figure out how to build it on FreeBSD with some library linking :O

Probably not possible to use the port though.
Thanks. That is what I was thinking. I haven't seen any success stories yet, but maybe with a lot of research and trial-and-error sessions, maybe some progress may yield.

But in the meantime, for more reasons than stated already in this thread, I've gone to a 32-bit installation.
Reply With Quote
  #5   (View Single Post)  
Old 14th July 2008
Nirbo Nirbo is offline
Real Name: Nicholas Kirby
Fdisk Soldier
 
Join Date: May 2008
Location: Edmonton, Alberta, Canada
Posts: 68
Default

Yeah, I did the same. 64-bit vista and 32-bit FreeBSD dual-boot.

Although with the lack of 64 bit programs in Windows, and the lack of the small things (like nvidia drivers) in amd64 FreeBSD, Doesn't look like I'll be getting much 64-bitting done
Reply With Quote
  #6   (View Single Post)  
Old 17th July 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Default

How would one use a 32-bit wine on amd64 system?
Reply With Quote
  #7   (View Single Post)  
Old 17th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

reinstall system, or start hacking....
Reply With Quote
  #8   (View Single Post)  
Old 25th July 2008
jgroch jgroch is offline
Port Guard
 
Join Date: Jul 2008
Posts: 14
Default

I'm also using FreeBSD 7.0 AMD64 on my desktop and am wondering about Wine. The Wine website FAQ says installing from binary should work even on 64 bit systems, and says building from source is more difficult. But they seem to talk more about Linux; is there a different reason why binary would have more difficulty on FreeBSD?

I may just give it a try later tonight or tomorrow.
Reply With Quote
  #9   (View Single Post)  
Old 26th July 2008
jgroch jgroch is offline
Port Guard
 
Join Date: Jul 2008
Posts: 14
Default

I installed the wine package form i386 7.0 Release on my amd64. Then i tried to install firefox's 3.0 exe, but got the error:

Code:
# wine "Firefox Setup 3.0.1.exe"
/libexec/ld-elf.so.1: Shared object "libwine.so.1" not found, required by "wine"
Not sure where to go from there, but I tried.
Reply With Quote
Old 27th July 2008
jgroch jgroch is offline
Port Guard
 
Join Date: Jul 2008
Posts: 14
Default

I found libwine.so.1 and libwine.so and moved them into /usr/lib32. It seems they can be used from there, but of course things still don't work right.

Code:
$ wine firefox3.exe
Bus error
Guess I should've read earlier posts more carefully.
Reply With Quote
Old 28th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by jgroch View Post
I found libwine.so.1 and libwine.so and moved them into /usr/lib32
What do you mean you found them and moved them....
Where were they?

if on your local system, you should symlink them. But not move them....
If that is the case, undo what you did, and link them from original location to where you need
Reply With Quote
Old 28th July 2008
jgroch jgroch is offline
Port Guard
 
Join Date: Jul 2008
Posts: 14
Default

Yes, they were under /usr/local/lib and I had copied them to /usr/lib32.

OK. I deleted the copies and made symbolic links instead in /usr/lib32. Still the same error, but I think I can see why it's better to use symlinks.
Reply With Quote
Old 28th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Copied != moved
If you copied it probably was ok, if you moved, you risked to broke dependencies
Reply With Quote
Old 29th July 2008
jgroch jgroch is offline
Port Guard
 
Join Date: Jul 2008
Posts: 14
Default

I see, sorry about the mislead. It's a good thing for me to get in the habit of symlinking anyway. I've only been running FreeBSD a few weeks and I've already made too many duplicate copies of files when my system would stay tidier with symlinks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 7.2 amd64 no sound erim FreeBSD General 5 3rd June 2009 07:54 AM
Flash 9 (WINE) on FreeBSD, finally 18Googol2 FreeBSD General 51 9th January 2009 12:03 AM
Freebsd's Wine & sched_ule mousesack FreeBSD General 3 12th October 2008 06:16 AM
jdk16 plugins on FreeBSD 7 AMD64 ninjatux FreeBSD General 0 26th June 2008 07:55 PM
FreeBSD amd64 arch Cpu type Grogan FreeBSD General 31 10th June 2008 03:57 PM


All times are GMT. The time now is 02:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick