Great ! Well spoted !http://communities.vmware.com/!! !http://communities.vmware.com/images/emoticons/happy.gif!
I've just installed updated curl(s) packages, and now VMPlayer-3.0 work fine on Fedora 12 even for download update of VMWare-tools !!
Why did you remove IPv6 support ?
Here what I've done (based on your SRPM) to recompile curl (without removing IPv6)
I just need to remove test as it alway failled (even with vanilla curl package...)
</p></p>
<p><p>-----------8< -----------8<-----------8<-----------8<-----------8<-----------8<-----------8<---</p></p>
<p><p>diff -r -Nup old/curl-7.19.7-2.fc12.src/curl.spec new/curl-7.19.7-2.fc12.src/curl.spec<br/>
--- old/curl-7.19.7-2.fc12.src/curl.spec 2009-11-26 20:00:12.000000000 +0100<br/>
+++ new/curl-7.19.7-2.fc12.src/curl.spec 2009-11-30 12:05:38.000000000 +0100<br/>
@@ -27,7 +27,9 @@ BuildRequires: pkgconfig<br/>
BuildRequires: stunnel<br/>
BuildRequires: valgrind<br/>
BuildRequires: zlib-devel<br/>
+BuildRequires: c-ares-devel<br/>
Requires: libcurl = %{version}-%{release}<br/>
+Requires: c-ares<br/>
<br/><br/>
%description<br/>
cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS,<br/>
@@ -76,6 +78,7 @@ use cURL's capabilities internally.<br/>
%patch101 -p1<br/>
%patch102 -p1<br/>
%patch103 -p1<br/>
+export PKG_CONFIG_PATH=`which pkg-config`<br/>
autoconf<br/>
<br/>
# Convert docs to UTF-8<br/>
@@ -85,10 +88,10 @@ for f in CHANGES README; do<br/>
done<br/>
<br/>
%build<br/>
-%configure --without-ssl --with-nss --enable-ipv6 \<br/>
+%configure --with-ssl --with-nss --enable-ipv6 \<br/>
--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \<br/>
--with-gssapi=%{_prefix}/kerberos --with-libidn \<br/>
- --enable-ldaps --disable-static --with-libssh2 --enable-manual<br/>
+ --enable-ldaps --disable-static --with-libssh2 --enable-manual --enable-ares<br/>
sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \<br/>
Makefile libcurl.pc<br/>
# Remove bogus rpath<br
@@ -101,7 +104,7 @@ make %{?_smp_mflags}<br />
%check<br/>
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}<br/>
make %{?_smp_mflags} -C tests<br/>
-cd tests && ./runtests.pl -a -k -p -v<br/>
+# cd tests && ./runtests.pl -a -k -p -v<br/>
<br/>
%install<br/>
rm -rf $RPM_BUILD_ROOT</p>
<p><p>-----------8< -----------8<-----------8<-----------8<-----------8<-----------8<-----------8<---</p></p>
<p><p> </p>
I've also checked in SRPM of Fedora 11, and there is no mention about "ares" and "ssl"....
So, Why it work under Fedora 11 ??
Anyway, your workarround is perfect for me ![]()
I disabled ipv6 just because of faiiled tests, without it tests passed. You disabled tests, same effect
but seriously Your solution may be better.
As of FC11 I thik that libcurl (or libssl) shipped .with vmplayer just works on fc11. You can check in /tmp//vmware-user/apploader-xxxx.log which version is used (system or shipped). If system version has all needed features vmplayer seems to use system version if not shipped version. Default system libcurl version doesn't support ares on fc11 and fc12 but shipped version fails on fc12 and I guess it doesn't fail on fc11. With new libcurl installed vmplayer uses system version, which works.
Hmmm.... is there a clean way to solve the networking problem? Even after installing VMTools on a different machine I still do not have networking working in Windows... I updated FC12, but it didn't help. I'd try the long and involved procedure, but it seems that there is a lot of scope to mess up the installation!
Semi-good news: after updating Linux it seems that it got an update for vmware. SELinux does not allow it to install, but after disabling SELinux it installed and networking started working - all versions - NAT, bridge, host only - they all work. But if I enable SELinux back it stops working. I disable it and it starts again.
I'm a bit uncomfortable with disabling SELinux - anybody knows a fix for the problem? The warning in SELinux seems to be about labeling of vmnet0...
Thanks,
Mihai
OK, it finally works!!! To solve the SELinux problem I just followed the advice in the SELinux error (about changing the type of the virtual interfaces in /dev) and it just worked OK:
Re: Player v3.0 under Fedora 12 as HOST# restorecon -v /dev/vmnet8
restorecon reset /dev/vmnet8 context unconfined_u:object_r:device_t:s0->system_u:object_r:vmware_device_t:s0
Re: Player v3.0 under Fedora 12 as HOST# restorecon -v /dev/vmnet0
restorecon reset /dev/vmnet0 context unconfined_u:object_r:device_t:s0->system_u:object_r:vmware_device_t:s0
Re: Player v3.0 under Fedora 12 as HOST# ls -Za /dev/vmne*
crw-------. root root system_u:object_r:vmware_device_t:s0 /dev/vmnet0
crw-------. root root unconfined_u:object_r:device_t:s0 /dev/vmnet1
crw-------. root root system_u:object_r:vmware_device_t:s0 /dev/vmnet8
Re: Player v3.0 under Fedora 12 as HOST#
After that SELinux stopped complaining and networking works fine in Windows 7.
M.
Thanks for posting this solution. It helped me!
Followed the instructions to disable selinux - thanks for that information. Unfortunately VMware Player 3.0 still does not work on Fedora 112 with the kernel:
2.6.31.6-166.fc12.x86_64. It will bring up the UI for less than a fraction of second and then exit. I will try the full WS 7.0 (trial only for lsure!) but I don't have great hopes for that either. Perhaps there is some video driver problem. I have a GeFoprce 6150 nforce 430 on board video. Will search for other video drivers also..
Marty Felker
Marty, you're right: it broke again!!! Today when I tried to start vmware it installed a new update, compiled then networking stopped working again.
M.
I am download the 7.0 bundle right now. What it should ldo is uninstall Vmware Player, the continue the install with isntalling installer 1.1, VMware Player 3.0 and finally WS 7.0. We will see how it goes. I wish they would provide a rpm installation for Fedora 12. Virtualbox died after installing through a script (.run) but when isntalling via an rpm it installed and ran just great. Installing Ubuntu Lucid Alpha 1 x64 right now. Do you have a 64-bit machine? Does you BIIOS allow AMD-V virtualization.
MartyMarty Felker
Interestingly VMware WS 7.0.0 (trial) installed fine on Fedor 12 (haven't yet created a VM). VMware Player 3.0.0. has the same problems as reported.
Strange.
Marty Felker
I've just done an upgrade from Fedora 11 x86_64 to Fedora 12 x86_64 and was also trying to upgrade vmplayer from 2.5.x to 3.0.0 as the cursor couldn't seem to make its mind up whether it was a pointer or a hand and so navigation in the VM (Windows 2003 server) was impossible.
After reading everything said here so far, and doing a bit of digging, I noticed that in my /tmp/vmware-<userid>/apploader-3490/log file was a message "System libcurl.so.4 has version 7.19.6 (need 7.19.5) and has NOT been compiled with c-ares support" which seems to confirm what one of the respondents was saying about lack of c-ares support (whatever that may be).
However, I also noticed that in the /usr/lib/vmware/lib directory there is a libcurl.so.3 directory AND a libcurl.so.4 directory.
On an educated guess, I renamed the libcurl.so.4 directory to libcurl.so.4.saved in the hope that vmplayer would pick up the earlier version and that it wouldn't be broken.
Amazingly, I can now fire up vmplayer and also download the VMTools update for 3.0.0
From inside the Windows 2003 server VM, installation of the VM Tools then proceeded normally (requiring a reboot to complete), after which I appear to have a fully working VMware 3.0.0 system.
Whoooohoooo!
Hope this also works for some more of you.
This worked perfectly for me. Thank you!
This also may answer why vmplayer 3 doesn't crash on fedora 11, maybe it selects libcurl.so.3.
2009/12/18 ChipJockey <communities-emailer@vmware.com<mailto:communities-emailer@vmware.com>>
,
A new message was posted in the thread "Player v3.0 under Fedora 12 as HOST":
http://communities.vmware.com/message/1444574#1444574
Author : ChipJockey
Profile : http://communities.vmware.com/people/ChipJockey
Message:
I can confirm it works here on 32-bit system after removing libcurl.so.4. Apploader log doesn't complain about libcurl at all.
2009/12/18 Krzysztof Chmielewski <kjchmielewski@gmail.com<mailto:kjchmielewski@gmail.com>>
This also may answer why vmplayer 3 doesn't crash on fedora 11, maybe it selects libcurl.so.3.
2009/12/18 ChipJockey <communities-emailer@vmware.com<mailto:communities-emailer@vmware.com>>
,
A new message was posted in the thread "Player v3.0 under Fedora 12 as HOST":
http://communities.vmware.com/message/1444574#1444574
Author : ChipJockey
Profile : http://communities.vmware.com/people/ChipJockey
Message:
This worked for me. Thank you.
Marty Felker