[Fedora-directory-users] FC 3 - AdminUtil 1-step (adminutilbuild)
Jason Kullo Sam
kullo at lws.bia.edu
Mon Sep 26 21:21:39 UTC 2005
Yup...that got it. Had to set static paths with buildnum.pl, pumpkin.pl,
and dirver.pl
Another side note which was kinda weird...in the makefile, had to replace:
---------------------------------------------------------------------------------
$(PERL5) pumpkin.pl $(PUMPKIN_AGE) pumpkin.dat
with
perl
/root/Desktop/dsbuild-static/ds/fedora-adminutil-devel-7.1/pumpkin.pl
$(PUMPKIN_AGE) pumpkin.dat
---------------------------------------------------------------------------------
(all that garbage in front of pumpkin.pl is just static path...) The
perl didn't want to work unless I did it like this, even though it did
fine for the buildnum.pl in the first form...*shrug* JIC someone else
runs into a goofy error after they put static paths in...
Thierry Lanfranchi wrote:
> Hi there,
>
> Looks like the problem is just that you don't have '.' directory in
> your path (and that's a good thing anyway) and the makefile specifies
> no path for buildnum.pl
> It should enforce ./buildnum.pl
>
> I'd look into that Makefile and check if it's possible to modify it in
> order to replace buildnum.pl by ./buildnum.pl (I don't have that file
> on my computer so I'm not sure how easy it is)
>
>
> Regards,
> Thierry
>
> Jason Kullo Sam a écrit :
>
>> No dice...
>> ===================================================
>> [root at genie ds]# cd fedora-adminutil-devel-7.1
>> [root at genie fedora-adminutil-devel-7.1]# ls
>> adminutil.spec.tmpl fedora-adminutil.spec.tmpl Makefile
>> nsperl.mk
>> bchecker.ini include nsarch
>> ntbomb.pl
>> buildnum.pl internal_buildpaths.mk nsarch.bat
>> ntversion.pl
>> buildpaths.mk internal_comp_deps.mk nsconfig.mk
>> pkgadminutil.mk
>> components.mk lib nscore.mk
>> pumpkin.dat
>> component_versions.mk LICENSE nsdefs.mk
>> pumpkin.pl
>> dirver.pl Linux2.6 nsftp.sh
>> [root at genie fedora-adminutil-devel-7.1]# mkdir tmp
>> [root at genie fedora-adminutil-devel-7.1]# ./buildnum.pl -p tmp
>> [root at genie fedora-adminutil-devel-7.1]# ls tmp
>> buildnum.dat
>> [root at genie fedora-adminutil-devel-7.1]# gmake BUILD_DEBUG=optimize
>> BUILD_RPM=1
>> cat:
>> /root/Desktop/dsbuild-static/ds/fedora-adminutil-devel-7.1/Linux2.6/buildnum.dat:
>> No such file or directory
>> if test ! -d Linux2.6; then mkdir Linux2.6; fi;
>> buildnum.pl -p Linux2.6
>> gmake: buildnum.pl: Command not found
>> gmake: *** [buildnum] Error 127
>> [root at genie fedora-adminutil-devel-7.1]#
>> Noriko Hosoi wrote:
>>
>>> Jason Kullo Sam wrote:
>>>
>>>> Yup, that's where perl is...(/usr/bin/perl)
>>>
>>>
>>>
>>> That's good... Then could you please try this?
>>>
>>> $ cd adminutil
>>> $ mkdir tmp
>>> $ ./buildnum.pl -p tmp
>>>
>>> Do you get "Command not found"? If you do, how about putting perl
>>> in front?
>>>
>>> $ perl buildnum.pl -p tmp
>>>
>>> Thanks,
>>> --noriko
>>>
>>>>
>>>>
>>>> Noriko Hosoi wrote:
>>>>
>>>>> Jason,
>>>>>
>>>>> Could you please check where your 'perl' is located on your
>>>>> system? The perl script buildnum.pl expects to have it in
>>>>> '/usr/bin':
>>>>>
>>>>> #!/usr/bin/perl
>>>>>
>>>>> Thanks,
>>>>> --noriko
>>>>>
>>>>> Jason Kullo Sam wrote:
>>>>>
>>>>>> Retried install of AdminUtil and after unzipping and running
>>>>>> gmake...this is the error(same as before, but this is from
>>>>>> package as opposed to 1-step build). Any ideas?
>>>>>>
>>>>>> ====================================================================
>>>>>> [root at genie fedora-adminutil-devel-7.1]# gmake
>>>>>> BUILD_DEBUG=optimize BUILD_RPM=1
>>>>>> cat:
>>>>>> /root/Desktop/dsbuild-static/ds/fedora-adminutil-devel-7.1/Linux2.6/buildnum.dat:
>>>>>> No such file or directory
>>>>>> if test ! -d Linux2.6; then mkdir Linux2.6; fi;
>>>>>> buildnum.pl -p Linux2.6
>>>>>> gmake: buildnum.pl: Command not found
>>>>>> gmake: *** [buildnum] Error 127
>>>>>> [root at genie fedora-adminutil-devel-7.1]# ls
>>>>>> /root/Desktop/dsbuild-static/ds/fedora-adminutil-devel-7.1/Linux2.6/
>>>>>> [root at genie fedora-adminutil-devel-7.1]# ls -al
>>>>>> /root/Desktop/dsbuild-static/ds/fedora-adminutil-devel-7.1/Linux2.6/
>>>>>> total 16
>>>>>> drwxr-xr-x 2 root root 4096 Sep 25 14:05 .
>>>>>> drwxr-xr-x 5 8799 1114 4096 Sep 25 14:05 ..
>>>>>> [root at genie fedora-adminutil-devel-7.1]# --
>>>>>> Fedora-directory-users mailing list
>>>>>> Fedora-directory-users at redhat.com
>>>>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> --
>>>>> Fedora-directory-users mailing list
>>>>> Fedora-directory-users at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>>>
>>>>>
>>>>
>>>> --
>>>> Fedora-directory-users mailing list
>>>> Fedora-directory-users at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> --
>>> Fedora-directory-users mailing list
>>> Fedora-directory-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>
>>>
>>
>> --
>> Fedora-directory-users mailing list
>> Fedora-directory-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
>>
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
More information about the Fedora-directory-users
mailing list