RC1 & RC3 break PageMaker

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

RC1 & RC3 break PageMaker

Post by okie2003 »

PageMaker was running OK (except duplex printing wrong) on 0.9 wines. With RC1 & RC3 (didn't try RC2) PageMaker starts to open, cycles my scanner (???), and quits. I went back to 0.9.61-1 all is well again. Any thoughts? I did a reinstall of PM, but it had no effect.
Zachary Goldberg

RC1 & RC3 break PageMaker

Post by Zachary Goldberg »

On Mon, Jun 2, 2008 at 9:04 PM, okie2003 <[email protected]> wrote:
PageMaker was running OK (except duplex printing wrong) on 0.9 wines. With RC1 & RC3 (didn't try RC2) PageMaker starts to open, cycles my scanner (???), and quits. I went back to 0.9.61-1 all is well again. Any thoughts? I did a reinstall of PM, but it had no effect.





Try doing a formal refression test

http://wiki.winehq.org/RegressionTesting


--
Zachary Goldberg
Computer Science & Engineering
Electrical Captain of Penn Electric Race Team
School of Engineering at the University of Pennsylvania
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Hung on Regression Testing

Post by okie2003 »

:( Sorry for the long post. I am a newbie, so I don't really know what I am doing. I am running Mepis 7.0 (Debian based) and have installed git 4.3.20-10, git-core 1:1.4.4.4-2, cogito, and ccache 2.4. When I attempt to run according to the wiki this is what I get:

Rob@Office:~$ whereis git-core
git-core: /usr/share/git-core
Rob@Office:~$ cd /usr/share/
Rob@Office:/usr/share$ su root
Password:
root@Office:/usr/share# git clone git://source.winehq.org/git/wine.git wine-git

git, the filemanager with GNU Interactive Tools, is now called gitfm.

If you are looking for git, Linus Torvald's content tracker, install
the cogito and git-core packages and see README.Debian and git(7).

This transition script will be removed in the debian stable
release after etch.

If you wish to complete the transition early, install git-core
and use (as root):
update-alternatives --config git

Press RETURN to run gitfm

/usr/bin/gitfm: warning: invalid extra options ignored

GNU Interactive Tools 4.3.20 (i586-pc-linux-gnu), 10:15:20 Aug 21 2006
GIT is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.
Copyright (C) 1993-1999 Free Software Foundation, Inc.
Written by Tudor Hulubei and Andrei Pitis, Bucharest, Romania

/usr/bin/gitfm: fatal error: `chdir' failed: permission denied.
root@Office:/usr/share# update-alternatives --config git

There are 2 alternatives which provide `git'.

Selection Alternative
-----------------------------------------------
*+ 1 /usr/bin/git.transition
2 /usr/bin/git-scm

Press enter to keep the default[*], or type selection number:
root@Office:/usr/share# git clone git://source.winehq.org/git/wine.git wine-git

git, the filemanager with GNU Interactive Tools, is now called gitfm.

If you are looking for git, Linus Torvald's content tracker, install
the cogito and git-core packages and see README.Debian and git(7).

This transition script will be removed in the debian stable
release after etch.

If you wish to complete the transition early, install git-core
and use (as root):
update-alternatives --config git

Press RETURN to run gitfm

/usr/bin/gitfm: warning: invalid extra options ignored

GNU Interactive Tools 4.3.20 (i586-pc-linux-gnu), 10:15:20 Aug 21 2006
GIT is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.
Copyright (C) 1993-1999 Free Software Foundation, Inc.
Written by Tudor Hulubei and Andrei Pitis, Bucharest, Romania

/usr/bin/gitfm: fatal error: `chdir' failed: permission denied.
root@Office:/usr/share#
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

RC1 & RC3 break PageMaker

Post by austin987 »

On Tue, Jun 3, 2008 at 10:17 AM, okie2003 <[email protected]> wrote:
:( Sorry for the long post. I am a newbie, so I don't really know what I am doing. I am running Mepis 7.0 (Debian based) and have installed git 4.3.20-10, git-core 1:1.4.4.4-2, cogito, and ccache 2.4. When I attempt to run according to the wiki this is what I get:

Rob@Office:~$ whereis git-core
git-core: /usr/share/git-core
Rob@Office:~$ cd /usr/share/
Rob@Office:/usr/share$ su root
Password:
root@Office:/usr/share# git clone git://source.winehq.org/git/wine.git wine-git
Why are you cloning as root?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Hung on Regression Testing

Post by vitamin »

okie2003 wrote:git, the filemanager with GNU Interactive Tools, is now called gitfm.
Wrong GIT. See what it told you next:
okie2003 wrote:If you are looking for git, Linus Torvald's content tracker, install
the cogito and git-core packages and see README.Debian and git(7).
Remove that wrong "git" you installed.
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

Either I thought I needed to be or I tried it after "permission denied" failure as user. See below:

Rob@Office:~$ git clone git://source.winehq.org/git/wine.git wine-git

git, the filemanager with GNU Interactive Tools, is now called gitfm.

If you are looking for git, Linus Torvald's content tracker, install
the cogito and git-core packages and see README.Debian and git(7).

This transition script will be removed in the debian stable
release after etch.

If you wish to complete the transition early, install git-core
and use (as root):
update-alternatives --config git

Press RETURN to run gitfm

/usr/bin/gitfm: warning: invalid extra options ignored

GNU Interactive Tools 4.3.20 (i586-pc-linux-gnu), 10:15:20 Aug 21 2006
GIT is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.
Copyright (C) 1993-1999 Free Software Foundation, Inc.
Written by Tudor Hulubei and Andrei Pitis, Bucharest, Romania

/usr/bin/gitfm: fatal error: `chdir' failed: permission denied.
Rob@Office:~$

Either way it didn't work.
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

Thanks, vitamin.
okie2003 wrote:Remove that wrong "git" you installed.
I didn't understand it that way, but I did read it. That is why I had installed cogito. I even tried the update-alternatives --config git

It appears it may be working... I am on dial-up, so time will tell.
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

Thanks for your patience. Sorry to be so dumb. OK, I got the clone step done and started on bisect. The result of the next step is:

Rob@Office:~/wine-git$ CC="ccache gcc" ./configure --verbose
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether make sets $(MAKE)... yes
checking for gcc... ccache gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

According to the wiki I was to expect dependencies, but I don't know where "config.log" is and I would probably not know what to change in it. whereis didn't help me or I don't know what i am looking at.
Rob@Office:~/wine-git$ whereis config.log
config: /usr/share/config /usr/share/config.kcfg /usr/share/man/man5/config.5ssl.gz

Nothing in those locations looked right.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

RC1 & RC3 break PageMaker

Post by austin987 »

On Tue, Jun 3, 2008 at 8:00 PM, okie2003 <[email protected]> wrote:
Thanks for your patience. Sorry to be so dumb. OK, I got the clone step done and started on bisect. The result of the next step is:

Rob@Office:~/wine-git$ CC="ccache gcc" ./configure --verbose
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether make sets $(MAKE)... yes
checking for gcc... ccache gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

According to the wiki I was to expect dependencies, but I don't know where "config.log" is and I would probably not know what to change in it. whereis didn't help me or I don't know what i am looking at.
Rob@Office:~/wine-git$ whereis config.log
config: /usr/share/config /usr/share/config.kcfg /usr/share/man/man5/config.5ssl.gz

Nothing in those locations looked right.





You need lots of dependencies, namely, a compiler. Look at:
http://wiki.winehq.org/Recommended_Packages
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Re: RC1 & RC3 break PageMaker

Post by Tlarhices »

austin987 wrote:On Tue, Jun 3, 2008 at 8:00 PM, okie2003 <[email protected]> wrote:
Thanks for your patience. Sorry to be so dumb. OK, I got the clone step done and started on bisect. The result of the next step is:

Rob@Office:~/wine-git$ CC="ccache gcc" ./configure --verbose
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether make sets $(MAKE)... yes
checking for gcc... ccache gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

According to the wiki I was to expect dependencies, but I don't know where "config.log" is and I would probably not know what to change in it. whereis didn't help me or I don't know what i am looking at.
Rob@Office:~/wine-git$ whereis config.log
config: /usr/share/config /usr/share/config.kcfg /usr/share/man/man5/config.5ssl.gz

Nothing in those locations looked right.
You need lots of dependencies, namely, a compiler. Look at:
http://wiki.winehq.org/Recommended_Packages
You are compiling using ccache :

Code: Select all

 CC="ccache gcc"
You will need to install the ccache package in order to use it. (And this package is not in the recommended packages list as it only appears in the bisection explanations)
Of course you will still need all the other packages from the wiki page.[/code]
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

Thanks for all the help. I thought I had a complier. According to synaptic I have gcc, gcc-4.1, gcc-4.1-base installed. I also have ccache installed.

But all that may not matter because when I ran apt-get build-dep wine I got:

root@Office:/home/Rob# apt-get build-dep wine
Reading package lists... Done
Building dependency tree... Done
E: Build-dependencies for wine could not be satisfied.
root@Office:/home/Rob#

Apparently this is beyond my level.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

RC1 & RC3 break PageMaker

Post by austin987 »

On Tue, Jun 3, 2008 at 9:32 PM, okie2003 <[email protected]> wrote:
Thanks for all the help. I thought I had a complier. According to synaptic I have gcc, gcc-4.1, gcc-4.1-base installed. I also have ccache installed.

But all that may not matter because when I ran apt-get build-dep wine I got:

root@Office:/home/Rob# apt-get build-dep wine
Reading package lists... Done
Building dependency tree... Done
E: Build-dependencies for wine could not be satisfied.
root@Office:/home/Rob#

Apparently this is beyond my level.





If wine isn't in your repositories, apt can't build it's dependencies.
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

Well, there is a version of wine in the Mepis repositories and obviously I have run RC1 & 2 & 3 as well as 0.9.61. Now these were debs made by the community. My sources list is as follows:

# MEPIS improvements, overrides and updates--the MEPIS magic
deb ftp://ftp.mepis.com/mepis/ mepis-7.0 main

deb http://ftp.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.debian.org/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile/ etch/volatile main contrib non-free

# Some Debian Multimedia software might be illegal in some jurisdictions
deb http://www.debian-multimedia.org/ etch main

# The VirtualBox non-free binary edition
deb http://www.virtualbox.org/debian/ etch non-free

What Debian repository would have to be added to get the necessary dependencies?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Which version of PageMaker are you trying to use?

Can you reproduce the problem (and the success with the earlier wine) with the 30 day free tryout version from http://www.adobe.com/products/pagemaker/ ?

BTW, you might be able to use one of the Ubuntu shell scripts described in http://wiki.winehq.org/BuildDependencies to install a lot of the build dependencies. Try http://kegel.com/wine/hardy.sh, for instance. Some of the packages might have different names or versions, but I bet a bunch are the same, so it's worth a try.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Try a fresh install. I just downloaded the 30 day trial of PageMaker 7.01 from
adobe.com, and it installed and ran ok. (It couldn't open any of
the templates, but it could create new files, so it worked a lot better than
what you're seeing.)
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Oh, and by fresh install, I mean do

cd $HOME
mv .wine .wine.backup

and then install Pagemaker again. It's possible something is borked in your old
.wine directory. (Remember the bad old days when you had to reinstall Windows
every so often? Wine makes that easy, just rename or delete your .wine directory :-)
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

Thank again for all the input. Here is the update typed as I did each step.
I am on dial-up, so my preference is to install from CD. My version of PageMaker is 7.0.1 I renamed .wine to .wine_org and installed RC3 ran winecfg and tried to install PM. It would not install as Windows XP so I ran winecfg again and switched to Win 2000. PM installed, but when I tried to run it it started to open, cycled my scanner, and disappeared. Same as before.

Deleted .wine with RC3 and installed RC2 same as above with the exception that PM installed as Windows XP.

Deleted wine with RC2. I could not find RC1 deb. I must have deleted it. Installed 0.9.61. Installed PM. Ran fine (except duplex printing is upside down as before).

So, it seems to me that the problem was not my wine install and that the problem is repeatable.
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Progress..

Post by okie2003 »

Dan, the links did not work for me. The http://wiki.winehq.org/BuildDependencies one says page does not exist and the other produced a 404 not found error.

However, after some more reading I tried this:
root@Office:/home/Rob# apt-get install git-core flex bison libstdc++6-dev libartsc0-dev libasound2-dev libaudio2 libaudiofile0 libc6-dev libesd-alsa0 libesd0-dev libgcc1 libgl1-mesa-glx libgl1-mesa-dev libglib2.0-0 libglu1-mesa-dev libgphoto2-2-dev libgphoto2-port0 libice6 liblcms1-dev libldap2-dev libsm6 libx11-6 libxau6 libxext6 libxml2-dev libxslt1.1 libxt6 libxxf86vm1 msttcorefonts build-essential
Reading package lists... Done
Building dependency tree... Done
git-core is already the newest version.
libaudio2 is already the newest version.
libaudiofile0 is already the newest version.
libgcc1 is already the newest version.
libgl1-mesa-glx is already the newest version.
libglib2.0-0 is already the newest version.
libgphoto2-port0 is already the newest version.
libice6 is already the newest version.
libsm6 is already the newest version.
libx11-6 is already the newest version.
libxau6 is already the newest version.
libxext6 is already the newest version.
libxslt1.1 is already the newest version.
libxt6 is already the newest version.
libxxf86vm1 is already the newest version.
msttcorefonts is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgphoto2-2-dev: Depends: libgphoto2-2 (= 2.2.1-16) but 2.4.0-8 is to be installed
E: Broken packages
root@Office:/home/Rob#

I forced version 2.2.1-16 and then:
root@Office:/home/Rob# apt-get build-dep wine
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
...
0 upgraded, 99 newly installed, 0 to remove and 0 not upgraded.
Need to get 84.6MB of archives.
After unpacking 273MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@Office:/home/Rob# apt-get build-dep wine

This will have to wait until over night, but it looks like we are getting somewhere.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

I just downloaded the 7.01 demo and tried it. It installed fine, but the first time I tried to run Pagemaker it gave me the message "unable to load icon dll for this screen" and shut down. You didn't mention getting any error messages from Pagemaker, but if you're seeing that one, the solution that worked for me is to copy the four ALDFONT*.FON files from the directory where Pm70.exe is located to the windows/fonts directory. (I have Pagemaker 6.5, and it had the same problem.)
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

I'll check it out when I go to the office. I did not get an error message. Just a PM splash screen, cycle of scanner, and gone.
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Moving fon files didn't change anything

Post by okie2003 »

:( I moved the files, but it didn't change anything. The storms across the central US kept me from downloading last night, so I am still on hold.

I can't help but thinking that the problem is related to the cycling of the scanner. The scanner doesn't cycle in 0.0.61 or any of the previous versions.
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

:?: On a whim after my last post I unplugged the USB cable to the scanner and ... PM opens and opens files and seems OK. What does that tell us?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Weird. I have a USB scanner, and the demo didn't do that at all. Check your drives in winecfg. Maybe Pagemaker thinks your scanner is a drive and is trying to read it at startup?
okie2003
Level 2
Level 2
Posts: 21
Joined: Sat Apr 26, 2008 10:30 am

Post by okie2003 »

Well, I am not sure if my scanner was in the drives list or not. I do know that if I hit autodetect it list a drive as /proc/bus/usb However, when I remove all drives except C: ../drive_c and Apply, OK and try to start PM with the scanner powered up the PM splash screen come up, the scanner cycle, and poof...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

okie2003 wrote:Well, I am not sure if my scanner was in the drives list or not. I do know that if I hit autodetect it list a drive as /proc/bus/usb However, when I remove all drives except C: ../drive_c and Apply, OK and try to start PM with the scanner powered up the PM splash screen come up, the scanner cycle, and poof...
Anything in the terminal? What does 'ls -la ~/.wine/dosdevices' say?
Locked