Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SketchUpPro 2016, dotnet 4.0 & wine 1.8 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Tue Feb 09, 2016 8:55 pm    Post subject: SketchUpPro 2016, dotnet 4.0 & wine 1.8 [SOLVED] Reply with quote

I have x32 wine installed on x64 kernel as
Code:
equery u wine
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-emulation/wine-1.8:
 U I
 + + X                      : Add support for X11
 + + abi_x86_32             : 32-bit (x86) libraries
 - - abi_x86_64             : 64-bit (amd64) libraries
 + + alsa                   : Add support for media-libs/alsa-lib (Advanced
                              Linux Sound Architecture)
 - - capi                   : Enable ISDN support via CAPI
 - - cups                   : Add support for CUPS (Common Unix Printing
                              System)
 - - custom-cflags          : Bypass strip-flags; use at your own peril
 - - dos                    : Pull in games-emulation/dosbox to run DOS
                              applications
 + + fontconfig             : Support for configuring and customizing font
                              access via media-libs/fontconfig
 + + gecko                  : Add support for the Gecko engine when using
                              iexplore
 - - gphoto2                : Add digital camera support
 - - gsm                    : Add support for the gsm lossy speech compression
                              codec
 - - gstreamer              : Use media-libs/gstreamer to provide DirectShow
                              functionality; For versions less than wine-1.9.2,
                              uses experimental patch which may break some apps
 + + jpeg                   : Add JPEG image support
 + + lcms                   : Add lcms support (color management engine)
 - - ldap                   : Add LDAP support (Lightweight Directory Access
                              Protocol)
 - - linguas_ar             : Arabic locale
 - - linguas_bg             : Bulgarian locale
 - - linguas_ca             : Catalan locale
 - - linguas_cs             : Czech locale
 - - linguas_da             : Danish locale
 - - linguas_de             : German locale
 - - linguas_el             : Greek locale
 - - linguas_en             : English locale
 - - linguas_en_US          : English locale
 - - linguas_eo             : Esperanto locale
 - - linguas_es             : Spanish locale
 - - linguas_fa             : Persian locale
 - - linguas_fi             : Finnish locale
 + + linguas_fr             : French locale
 - - linguas_he             : Hebrew locale
 - - linguas_hi             : Hindi locale
 - - linguas_hr             : Croatian locale
 - - linguas_hu             : Hungarian locale
 - - linguas_it             : Italian locale
 - - linguas_ja             : Japanese locale
 - - linguas_ko             : Korean locale
 - - linguas_lt             : Lithuanian locale
 - - linguas_ml             : Malayalam locale
 - - linguas_nb_NO          : Norwegian (Bokmal) locale for Norway
 - - linguas_nl             : Dutch locale
 - - linguas_or             : Oriya locale
 - - linguas_pa             : Punjabi locale for India
 - - linguas_pl             : Polish locale
 - - linguas_pt_BR          : Portuguese locale for Brasil
 - - linguas_pt_PT          : Portuguese locale for Portugal
 - - linguas_rm             : Romansh locale
 - - linguas_ro             : Romanian locale
 - - linguas_ru             : Russian locale
 - - linguas_sk             : Slovak locale
 - - linguas_sl             : Slovenian locale
 - - linguas_sr_RS@cyrillic : Serbian (cyrillic) locale for Serbia
 - - linguas_sr_RS@latin    : Serbian (latin) locale for Serbia
 - - linguas_sv             : Swedish locale
 - - linguas_te             : Telugu locale
 - - linguas_th             : Thai locale
 - - linguas_tr             : Turkish locale
 - - linguas_uk             : Ukrainian locale
 - - linguas_wa             : Walloon locale
 - - linguas_zh_CN          : Chinese locale for Peoples Republic of China
 - - linguas_zh_TW          : Chinese locale for Taiwan
 - - mono                   : Add support for .NET using Wine's Mono add-on
 - - mp3                    : Add support for reading mp3 files
 + + ncurses                : Add ncurses support (console display library)
 - - netapi                 : Use libnetapi from net-fs/samba to support
                              Windows networks in netapi32.dll
 + + nls                    : Add Native Language Support (using gettext - GNU
                              locale utilities)
 - - odbc                   : Add ODBC Support (Open DataBase Connectivity)
 - - openal                 : Add support for the Open Audio Library
 - - opencl                 : Enable OpenCL support
 + + opengl                 : Add support for OpenGL (3D graphics)
 + + osmesa                 : Add support for OpenGL in bitmaps using libOSMesa
 - - oss                    : Add support for OSS (Open Sound System)
 - - pcap                   : Support packet capture software (e.g. wireshark)
 + + perl                   : Install helpers written in perl
                              (winedump/winemaker)
 - - pipelight              : Apply Wine-Staging patches for
                              Pipelight/Silverlight support
 + + png                    : Add support for libpng (PNG images)
 - - prelink                : Run prelink on DLLs during build; For versions
                              less than wine-1.7.55 or hardened, do not disable
                              if you do not know what this means as it can
                              break things at runtime
 - - pulseaudio             : Add support for PulseAudio sound server
 - - realtime               : Pull in sys-auth/rtkit for low-latency pulseaudio
                              support
 + + run-exes               : Use Wine to open and run .EXE and .MSI files
 + + s3tc                   : Pull in media-libs/libtxc_dxtn for DXTn texture
                              compression, needed for many games
 - - samba                  : Add support for NTLM auth. see
                              http://wiki.winehq.org/NtlmAuthSetupGuide and
                              http://wiki.winehq.org/NtlmSigningAndSealing
 - - scanner                : Add support for scanner hardware (e.g. build the
                              sane frontend in kdegraphics)
 - - ssl                    : Add support for Secure Socket Layer connections
 + + staging                : Apply Wine-Staging patches for advanced feature
                              support that haven't made it into upstream Wine
                              yet For versions less than wine-1.8, this
                              patchset is unofficial.
 - - test                   : Workaround to pull in packages needed to run with
                              FEATURES=test. Portage-2.1.2 handles this
                              internally, so don't set it in
                              make.conf/package.use anymore
 + + threads                : Add threads support for various packages. Usually
                              pthreads
 + + truetype               : Add support for FreeType and/or FreeType2 fonts
 + + udisks                 : Enable storage management support (automounting,
                              volume monitoring, etc)
 + + v4l                    : Enable support for video4linux (using
                              linux-headers or userspace libv4l libraries)
 + + vaapi                  : Enable Video Acceleration API for hardware
                              decoding
 - - xcomposite             : Enable support for the Xorg composite extension
 - - xinerama               : Add support for the xinerama X11 extension, which
                              is mandatory if you work in multiple monitors
                              setup
 + + xml                    : Add support for XML files


dotnet40 which SketchUp 2016 seems to require, has been installed as
Code:
winetricks dotnet40


Still SketchUp downloads & tries to install.NET 4.0 x32 & x64 at setup, and endlessly loops at it still

Others seem to have succeeded with other distro or version of SketchUp.

Prior to this last attempt, wine was x32 & x64 but wintricks refused to install dotnet 4.0. SketchUp Pro 2016 behaved identically regarding NET 4.0.

Any idea?

Thks 4 ur attention.


Last edited by CaptainBlood on Wed Feb 10, 2016 8:37 pm; edited 2 times in total
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Wed Feb 10, 2016 1:40 am    Post subject: Reply with quote

I was unsuccessful trying to install .Net 4 in WINE some months ago (I can't remember now which Windows application I was trying to install that required it). I gave up after reading WINE Bug Report 26757 - Wine can't install ".msu" files. Needed for IE8/Vista, .Net 4, IE10/Win7.

Anyway, I'm not sure about SketchUp Pro 2016 in WINE but I wonder if the following would have any success:

Code:
$ export WINEPREFIX=$HOME/.wine-sketchup2016
$ export WINEARCH="win32"
$ winecfg
$ cd $HOME/.wine-sketchup2016/drive_c
$ winetricks -q dotnet40


Also, I wonder if it would be worth you trying to build WINE with USE="mono" to see if that makes any difference?


EDIT (02:36 UTC, 10 February 2016): I have just noticed that, since I last tried to install .NET 4 in WINE, a staged patchset was added on 20 December 2015 to enable MSU installation (see the activity log for WINE Bug Report No. 26757: https://bugs.winehq.org/show_activity.cgi?id=26757). The staged patchset link was given as https://github.com/wine-compholio/wine-staging/tree/master/patches/wusa-MSU_Package_Installer and, as it mentions 'compholio', I wonder if merging WINE with USE="pipelight" would get you any further. I say that because the pipelight USE flag pulls in the compholio patches if I'm not mistaken. I have been merging WINE with USE="pipelight" for quite some time, so perhaps it's time for me to try and install .NET 4 again myself!
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Wed Feb 10, 2016 2:19 pm    Post subject: Reply with quote

Hi,
I'm in the process to test advised USE flag ... I'll be back in about an hour, once wine is ready.

Thks 4ur attention, interest & support.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Wed Feb 10, 2016 8:35 pm    Post subject: Reply with quote

Finally did it as follows:
Code:
equery u wine
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-emulation/wine-1.8:
 U I
 + + X                      : Add support for X11
 + + abi_x86_32             : 32-bit (x86) libraries
 + + abi_x86_64             : 64-bit (amd64) libraries
 + + alsa                   : Add support for media-libs/alsa-lib (Advanced
                              Linux Sound Architecture)
 - - capi                   : Enable ISDN support via CAPI
 - - cups                   : Add support for CUPS (Common Unix Printing
                              System)
 - - custom-cflags          : Bypass strip-flags; use at your own peril
 - - dos                    : Pull in games-emulation/dosbox to run DOS
                              applications
 + + fontconfig             : Support for configuring and customizing font
                              access via media-libs/fontconfig
 + + gecko                  : Add support for the Gecko engine when using
                              iexplore
 - - gphoto2                : Add digital camera support
 - - gsm                    : Add support for the gsm lossy speech compression
                              codec
 - - gstreamer              : Use media-libs/gstreamer to provide DirectShow
                              functionality; For versions less than wine-1.9.2,
                              uses experimental patch which may break some apps
 + + jpeg                   : Add JPEG image support
 + + lcms                   : Add lcms support (color management engine)
 - - ldap                   : Add LDAP support (Lightweight Directory Access
                              Protocol)
 - - linguas_ar             : Arabic locale
 - - linguas_bg             : Bulgarian locale
 - - linguas_ca             : Catalan locale
 - - linguas_cs             : Czech locale
 - - linguas_da             : Danish locale
 - - linguas_de             : German locale
 - - linguas_el             : Greek locale
 - - linguas_en             : English locale
 - - linguas_en_US          : English locale
 - - linguas_eo             : Esperanto locale
 - - linguas_es             : Spanish locale
 - - linguas_fa             : Persian locale
 - - linguas_fi             : Finnish locale
 + + linguas_fr             : French locale
 - - linguas_he             : Hebrew locale
 - - linguas_hi             : Hindi locale
 - - linguas_hr             : Croatian locale
 - - linguas_hu             : Hungarian locale
 - - linguas_it             : Italian locale
 - - linguas_ja             : Japanese locale
 - - linguas_ko             : Korean locale
 - - linguas_lt             : Lithuanian locale
 - - linguas_ml             : Malayalam locale
 - - linguas_nb_NO          : Norwegian (Bokmal) locale for Norway
 - - linguas_nl             : Dutch locale
 - - linguas_or             : Oriya locale
 - - linguas_pa             : Punjabi locale for India
 - - linguas_pl             : Polish locale
 - - linguas_pt_BR          : Portuguese locale for Brasil
 - - linguas_pt_PT          : Portuguese locale for Portugal
 - - linguas_rm             : Romansh locale
 - - linguas_ro             : Romanian locale
 - - linguas_ru             : Russian locale
 - - linguas_sk             : Slovak locale
 - - linguas_sl             : Slovenian locale
 - - linguas_sr_RS@cyrillic : Serbian (cyrillic) locale for Serbia
 - - linguas_sr_RS@latin    : Serbian (latin) locale for Serbia
 - - linguas_sv             : Swedish locale
 - - linguas_te             : Telugu locale
 - - linguas_th             : Thai locale
 - - linguas_tr             : Turkish locale
 - - linguas_uk             : Ukrainian locale
 - - linguas_wa             : Walloon locale
 - - linguas_zh_CN          : Chinese locale for Peoples Republic of China
 - - linguas_zh_TW          : Chinese locale for Taiwan
 - - mono                   : Add support for .NET using Wine's Mono add-on
 - - mp3                    : Add support for reading mp3 files
 + + ncurses                : Add ncurses support (console display library)
 - - netapi                 : Use libnetapi from net-fs/samba to support
                              Windows networks in netapi32.dll
 + + nls                    : Add Native Language Support (using gettext - GNU
                              locale utilities)
 - - odbc                   : Add ODBC Support (Open DataBase Connectivity)
 - - openal                 : Add support for the Open Audio Library
 - - opencl                 : Enable OpenCL support
 + + opengl                 : Add support for OpenGL (3D graphics)
 + + osmesa                 : Add support for OpenGL in bitmaps using libOSMesa
 - - oss                    : Add support for OSS (Open Sound System)
 - - pcap                   : Support packet capture software (e.g. wireshark)
 + + perl                   : Install helpers written in perl
                              (winedump/winemaker)
 + + pipelight              : Apply Wine-Staging patches for
                              Pipelight/Silverlight support
 + + png                    : Add support for libpng (PNG images)
 - - prelink                : Run prelink on DLLs during build; For versions
                              less than wine-1.7.55 or hardened, do not disable
                              if you do not know what this means as it can
                              break things at runtime
 - - pulseaudio             : Add support for PulseAudio sound server
 - - realtime               : Pull in sys-auth/rtkit for low-latency pulseaudio
                              support
 + + run-exes               : Use Wine to open and run .EXE and .MSI files
 + + s3tc                   : Pull in media-libs/libtxc_dxtn for DXTn texture
                              compression, needed for many games
 - - samba                  : Add support for NTLM auth. see
                              http://wiki.winehq.org/NtlmAuthSetupGuide and
                              http://wiki.winehq.org/NtlmSigningAndSealing
 - - scanner                : Add support for scanner hardware (e.g. build the
                              sane frontend in kdegraphics)
 + + ssl                    : Add support for Secure Socket Layer connections
 + + staging                : Apply Wine-Staging patches for advanced feature
                              support that haven't made it into upstream Wine
                              yet For versions less than wine-1.8, this
                              patchset is unofficial.
 - - test                   : Workaround to pull in packages needed to run with
                              FEATURES=test. Portage-2.1.2 handles this
                              internally, so don't set it in
                              make.conf/package.use anymore
 + + threads                : Add threads support for various packages. Usually
                              pthreads
 + + truetype               : Add support for FreeType and/or FreeType2 fonts
 + + udisks                 : Enable storage management support (automounting,
                              volume monitoring, etc)
 + + v4l                    : Enable support for video4linux (using
                              linux-headers or userspace libv4l libraries)
 + + vaapi                  : Enable Video Acceleration API for hardware
                              decoding
 - - xcomposite             : Enable support for the Xorg composite extension
 - - xinerama               : Add support for the xinerama X11 extension, which
                              is mandatory if you work in multiple monitors
                              setup
 + + xml                    : Add support for XML files

followed by
Code:
user@laptop ~ $ winetricks msxml3
Code:
user@laptop ~ $ wine ~/Desktop/dotNetFx40_Full_x86_x64.exe
Code:
user@laptop ~ $ wine ~/Desktop/SketchUpPro-fr.exe

Will update later if pipelight USE flag can be cancelled.

Thks 4 ur attention, interest & support
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Wed Feb 10, 2016 8:58 pm    Post subject: Reply with quote

Even better with cherry on top...
Unfortunately @ start SketchUp Pro states no internet to be available.
No idea what to gain fixing this...

maybe netapi USE flag could help...

Thks 4 ur attention, interest & support
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Wed Feb 10, 2016 9:24 pm    Post subject: Reply with quote

From the SketchUp Help Centre:

Quote:
Problems connecting to the Internet

SketchUp requires uninterrupted access to the internet for features such as the 3D Warehouse, Add Location and Extension Warehouse. To ensure connectivity you may need to adjust settings in your Firewall, Proxy or Internet Security software for your network or computer.

SketchUp needs access on the following ports:
80, 8080, and 443

For Network Licenses, SketchUp needs access to the following ports:
5053 and 50530

SketchUp needs permission to visit all of the sub-domains for SketchUp.com, easily included as:
*.sketchup.com

Could it perhaps be a firewall issue in your installation?
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Wed Feb 10, 2016 10:41 pm    Post subject: Reply with quote

Hum, no firewall here ...
Only LayOut.exe fails @ start with a R6025 error.

Thks 4 ur attention, interest & support
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Thu Feb 11, 2016 12:07 pm    Post subject: Reply with quote

According to my Web searches, that R6025 error message is a Microsoft Visual C++ run-time error. I have no idea if that is solvable in Linux/WINE, but I suppose you could try installing .NET in WINE in a different way, just in case it makes a difference. Last night I did it the following way:

1. Enter the command 'winetricks' to launch the winetricks GUI and select the WINEPROFILE.
2. Install 'allfonts' using the winetricks GUI.
3. Install dotnet45 using the winetricks GUI.

That installed dotnet20, dotnet30, dotnet40, dotnet45 and some other .NET stuff.

------------------------------
EDIT (14:25 UTC, 11 February 2016): I have just installed dotnet452 in a fresh WINEPREFIX using the winetricks GUI, and the winetricks GUI shows the following as installed:

dotnet20sp1
dotnet20
dotnet30sp1
dotnet35
dotnet40
dotnet452
dotnet45
msxml3

winetricks also changed the Windows version from Windows 7 to Windows 2003 (winetricks displayed a pop-up message saying that .NET 4.5 fails unless used in Windows 2003 in WINE). winetricks displayed various other warning messages during the long installation process for the various .NET packages, including a message warning that .NET 4 does not work well in WINE.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Fri Feb 12, 2016 12:18 pm    Post subject: Reply with quote

Any luck, CaptainBlood?

If you're not having any success by installing Microsoft's .NET 4 in WINE, why don't you try installing Mono instead (by enabling USE="mono" in WINE), as I mentioned in a previous post? BTW, Mono is an open-source alternative to Microsoft's .Net, not an adjunct, so you shouldn't have them both installed as far as I am aware (you'll need to use a fresh WINEPREFIX to install SketchUp).

Home | Mono wrote:
Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.

http://www.mono-project.com/docs/about-mono/compatibility/

Compatibility | Mono wrote:
The easiest way to describe what Mono currently supports is:
Everything in .NET 4.5 except WPF, WWF, and with limited WCF and limited ASP.NET 4.5 async stack.

Compatibility | Mono wrote:
.NET 4.0
✓ C# 4.0
✓ ASP.Net 4.0
✓ ASP.Net MVC 1, MVC 2 and MVC3
✓ System.Numerics
✓ Managed Extensibily Framework - Shared with .NET via MS-PL license
✓ Dynamic Language Runtime - Shared with .NET via MS-PL license
✓ Client side OData - Shared with .NET via MS-PL license
✓ EntityFramework - Available since Mono 2.11.3.
✓ Parallel Framework and PLINQ
⚠ CodeContracts - API complete, partial tooling
⚠ Server-side OData - Depends on Entity Framework.

After re-merging WINE with the mono and pipelight USE flags set, I would use a fresh WINEPREFIX so that none of the Microsoft .NET code is present. Worth a shot if you're not getting the desired result by using Microsoft's .NET installation package in WINE (installed directly or via winetricks).
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3625

PostPosted: Sat Feb 13, 2016 7:29 pm    Post subject: Reply with quote

Well, from previous attempts I recall winetricks refuses to install dotnet4 when wine is both x86 & x64.
Still by the install procedure I've mentionned earlier, SketchUp Pro 2016 installs fine & seems to be working fine (I'm a noob there). Same report about Style Builder.
As I only need this to practice a little for college kids teaching, this is good enough for me 2 flag initial post as solved.

Still I'd love to have this LayOut.exe thingie working, but little time to work out how to solve that annoying R6025 error.

Thks 4 ur attention, interest & support
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum