syntax errors reported when using LdapImport with Fedora Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having trouble importing the flat files on our server into ldap after
installing 1.0.1 of Fedora Directory.  I downloaded and extracted LdapImport. 
I also downloaded Delta.pm and placed it in the same directory as LdapImport. 
Here is what I got back after I executed LdapImport (I've also included a copy
of the "offending lines" below the console output.

thanks for the help!
steve

 sh LdapImport.pl
LdapImport.pl: line 32: use: command not found
LdapImport.pl: line 33: use: command not found
LdapImport.pl: line 34: use: command not found
LdapImport.pl: line 35: use: command not found
LdapImport.pl: line 36: use: command not found
LdapImport.pl: line 37: use: command not found
LdapImport.pl: line 38: use: command not found
LdapImport.pl: line 39: use: command not found
LdapImport.pl: line 40: use: command not found
LdapImport.pl: line 41: use: command not found
LdapImport.pl: line 42: use: command not found
LdapImport.pl: line 43: use: command not found
LdapImport.pl: line 45: syntax error near unexpected token `('
LdapImport.pl: line 45: `use vars qw($VERSION);'

lines 32 to 45 from LdapImport.pl:

use strict;
use warnings;
use LdapConnectionManager;
use LdapSchemaTools;
use LdapEntryTools;
use LdapMigration;
use Net::LDAP;
use Net::LDAP::LDIF;
use Net::LDAP::Search;
use Net::LDAP::Entry;
use Data::Dumper;
use debug;

use vars qw($VERSION);
$VERSION=sprintf("%d.%02d", q$Revision: 1.21 $ =~ /(\d+)\.(\d+)/);





[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux