[rt-users] rt2-to-rt3-1.23 script problems.

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Wed Jun 15 12:25:45 EDT 2005



Tim Suter wrote:

>Modified the rt-2.0-to-dumpfile after following the instructions in the
>README and after Drew clarified some stuff (thanks Drew!).  The ONLY two
>lines I modified according to the instructions were the 'use libs'
>directives.
>
>Following is the output when I tried to run rt-2.0-to-dumpfile:
>
>confused:~/rt2-rt3/rt2-to-rt3-1.23# sh rt-2.0-to-dumpfile /root/rt2-
>rt3/rt2dump/
>rt-2.0-to-dumpfile: use: command not found
>rt-2.0-to-dumpfile: $: command not found
>rt-2.0-to-dumpfile: =: command not found
>rt-2.0-to-dumpfile: my: command not found
>rt-2.0-to-dumpfile: line 11: syntax error near unexpected token `($'
>rt-2.0-to-dumpfile: line 11: `die "You must specify an export dir"
>unless ($export_dir_base);'
>  
>
Try perl rt-2.0-to-dumpfile /root/rt2-rt3/rt2dump/


>I didn't think the following would make that much of a difference, but I
>did it anyway....
>
>confused:~/rt2-rt3/rt2-to-rt3-1.23# sh ./rt-2.0-to-dumpfile /root/rt2-
>rt3/rt2dump/
>./rt-2.0-to-dumpfile: use: command not found
>./rt-2.0-to-dumpfile: $: command not found
>./rt-2.0-to-dumpfile: =: command not found
>./rt-2.0-to-dumpfile: my: command not found
>./rt-2.0-to-dumpfile: line 11: syntax error near unexpected token `($'
>./rt-2.0-to-dumpfile: line 11: `die "You must specify an export dir"
>unless ($export_dir_base);'
>
>Anyone have the above issues?  
>
>I am trying to rt-2.0-to-dumpfile from a Debian(sarge) RT 2.0.13/Perl
>5.6 install. I will then 'want' to dumpfile-to-rt-3.0 to a RHEL4 RT
>3.2.3/Perl 5.8 install on a different box.
>
>Is it caused by Perl 5.6?  In what I am trying to do, what issues should
>I look out for when I do dumpfile-to-rt-3.0?
>
>Thanks,
>
>Tim Suter
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>  
>

-- 
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati




More information about the rt-users mailing list