Problem with regression testing

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jpka
Level 1
Level 1
Posts: 8
Joined: Wed Mar 31, 2010 3:33 am

/usr/bin/install: omitting directory

Post by jpka »

Hi! I also need regression testing. Sadly, while try to install wine into my Ubuntu 10.10, for some old versions of Wine like wine-1.0, i get errors like

Code: Select all

/usr/bin/install -c  -m 644  `basename __install__/avifile.dll16` /usr/local/lib/wine/`basename __install__/avifile.dll16`
/usr/bin/install: omitting directory `avifile.dll16'
make[1]: *** [__install__/avifile.dll16] Error 1
make[1]: Leaving directory `/home/test/wine-git/dlls'
make: *** [dlls/__install-lib__] Error 2
There are many talks about this error on internet (not only for Wine installer) but no any solution suggested... Maybe it's due to changes in newer /usr/bin/install itself, i don't know. Please help me. But please not suggest 'not install wine but run it locally', it's not work: wine-1.0 taken from Ubuntu repos, and wine-1.0 compiled myself and run from home folder, gives different results.
Thanks!
jpka
Level 1
Level 1
Posts: 8
Joined: Wed Mar 31, 2010 3:33 am

partially solved...

Post by jpka »

I continue my research and find two strange solutions for this error...
1) Modify /usr/bin/install
I get coreutils source code, then modify this

Code: Select all

install.c line 288 
  x->recursive = true;
I don't know what is does as i don't know C, but i find it myself and when i compile and replace /usr/bin/install, wine's sudo make install become works normally. DO IT AT YOUR OWN RISK and revert your changes as soon as possible.
2) Suddenly I reboot under previous old linux kernel (2.6.35-24-generic) and this error is magically disappears! I now able to install any version which compiles on my system. I have absolutely no idea why kernel changes make difference, but i reproduce this on two machines.

Later I also suddenly find (via random internet searching) reply on my post in another place: http://permalink.gmane.org/gmane.comp.e ... user/74592

But fortunately, when i now able install wine, instead of run it from local folder, i get same results for at least wine-1.0 taken from Ubuntu repos, and wine-1.0 compiled and installed myself, so i can continue my regression tests.

P.S. Some more things to compile old wines...

Code: Select all

signal_i386.c: In function ‘merge_vm86_pending_flags’:
signal_i386.c:544: error: ‘VIF_MASK’ undeclared (first use in this function)
signal_i386.c

#define VIF_MASK 0x00080000
#define VIP_MASK 0x00100000

Code: Select all

In file included from /usr/include/openssl/ssl.h:183,
                 from internet.h:48,
                 from http.c:60:
/usr/include/openssl/x509.h:208: error: expected ‘)’ before numeric constant
In file included from /usr/include/openssl/ssl.h:183,
                 from internet.h:48,
                 from http.c:60:
/usr/include/openssl/x509.h:930: error: expected identifier or ‘(’ before ‘LPCSTR’
/usr/include/openssl/x509.h:930: error: expected ‘)’ before numeric constant
/usr/include/openssl/x509.h
lines 208, 930 remed
/usr/include/openssl/ssl.h:1046:
line 1046 remed (i not use internet in wine but sadly can't find keys in 'configure' which disables http ot inet in wine)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: /usr/bin/install: omitting directory

Post by dimesio »

jpka wrote:Hi! I also need regression testing. Sadly, while try to install wine into my Ubuntu 10.10,
You should not install Wine when doing regression testing.
But please not suggest 'not install wine but run it locally', it's not work: wine-1.0 taken from Ubuntu repos, and wine-1.0 compiled myself and run from home folder, gives different results.
If the problem disappears in plain Wine, then it's a packaging issue, not a Wine bug. Report that to your distro.

Your problem is also unrelated to the original subject of this thread. In the future, please start new threads for new problems instead of hijacking old ones.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Post by Bob Wya »

@jpka

I am sure your 'new thread' is very interesting... but you seem to have hijacked Mildred's thread! Very, very bad netiquite... :roll:

Bob
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: /usr/bin/install: omitting directory

Post by vitamin »

As dimesio already said, DO NOT hijack threads, or your post will simple be removed.
jpka
Level 1
Level 1
Posts: 8
Joined: Wed Mar 31, 2010 3:33 am

Post by jpka »

The reason for reply here is same error in my and other people experience (about 'avifile.dll'-like folders and install errors) and i find this by searching, i hope using search is good idea. sorry if not
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jpka wrote:The reason for reply here is same error
No, it's not the same error, and your problem has nothing to do with an original post. That's why it's hijacking.
Locked