Problem installing cpan modules

Moderator: crythias

Locked
jgoodfellow
Znuny newbie
Posts: 4
Joined: 31 Oct 2011, 17:28
Znuny Version: 3.0.10

Problem installing cpan modules

Post by jgoodfellow »

I am a Windows (not Perl) developer trying to set up Eclipse/Epic to do some OTRS development. OTRS is installed on Windows Server 2008 R2 Ent. Install path is C:\Program Files (x86)\OTRS\. Running CPAN from C:\Program Files (x86)\OTRS\StrawberryPerl\, any attempt to install a module repeatedly chokes on the dmake step with with the following error.

dmake: Error: -- Configuration file `C:\ (x86)\OTRS\StrawberryPerl\c\bin\startup\startup.mk' not found

Appears that dmake is not able to deal with the space in the path spec. Short of reinstalling OTRS, does anyone know how to get dmake working in CPAN? Any config files I might look at? Any other suggestions?

Thanks.
John G.
ford4950
Znuny newbie
Posts: 3
Joined: 25 Apr 2012, 15:41
Znuny Version: 300001
Real Name: Robert Ford
Company: Victorinox Swiss Army
Location: Monroe, CT
Contact:

Re: Problem installing cpan modules

Post by ford4950 »

I'm currently running into the same issue, I'm running on a Windows Server Standard 2008, 32 Bit edition, OTRS 3.1. Trying to install NET:LDAP, using CPAN everything works until it tries to dmake.

dmake.exe: Error: -- Configuration file `C:\ Files\OTRS\StrawberryPerl\c\bin\startup\startup.mk' not found
CSL
Znuny expert
Posts: 159
Joined: 11 Nov 2011, 19:27
Znuny Version: 3.0.11

Re: Problem installing cpan modules

Post by CSL »

Know this sounds silly, but you could try creating C:\Files\OTRS\StrawberryPerl\c\bin\startup\startup.mk ?

Copy the startup.mk file from the proper directory into new dir structure: C:\Files\OTRS\StrawberryPerl\c\bin\startup\

Otherwise it will probably have to involve hunting through the file that is throwing the error to find the environment variable it uses for the program files directory, and put single quotes around it so it can handle the space.

If you can find the variable, you can also try replacing it with Progra~1 which is shorthand for the program files directory (and which doesn't have an issue-causing space in it).
Backend: OTRS 3.0.11 RedHat Enterprise Linux 6.2, Apache, MySQL with replication
Frontend: OTRS 3.0.11 RedHat Enterprise Linux 6.2 with SELinux, Apache SSL
Locked