[gobolinux-users] Build scripts from cvs
marco.cagnoli at oltrelinux.com
marco.cagnoli at oltrelinux.com
Tue Mar 6 13:04:29 UTC 2007
Well, thank you Lucas but I would like to be updated with the cvs and I
can't ask you to send me a file once a day. I will try in the dirty way...
Now, I'm trying to build Scripts and this is what I obtain running "make
all" from the main directory (not src)
gobo at mcagnoli-laptop:~/Scripts-cvs-test$ make all
for f in FindPackage GetAvailable GuessLatest CheckDependencies
DescribeProgram; \
do libf=lib/python2.3/site-packages/$f.py; \
rm -f $libf; ln -nfs ../../../bin/$f $libf; \
done
cd lib/python2.3/site-packages && \
for f in *.py; \
do python -c "import `basename $f .py`"; \
done
Traceback (most recent call last):
File "<string>", line 1, in ?
File "CheckDependencies.py", line 43, in ?
os.makedirs(global_dependencies_cache_dir)
File "/usr/lib/python2.4/os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/dependencies_cache/'
sed -i~ "s/CURRENT_SCRIPTS_VERSION=.*#/CURRENT_SCRIPTS_VERSION="2.6.3"
#/g" bin/CreateRootlessEnvironment
rm -f bin/CreateRootlessEnvironment~
cd src; make all
make[1]: Entering directory `/home/gobo/Scripts-cvs-test/src'
gcc -O2 -Wall -o SuperUserName SuperUserName.c
gcc -O2 -Wall -o IsExecutable IsExecutable.c
gcc -O2 -Wall -o usleep usleep.c
gcc -O2 -Wall -o LinkOrExpandAll LinkOrExpandAll.c -std=c99
gcc -O2 -Wall -o List List.c
gcc -O2 -Wall -o RescueSymlinkProgram RescueSymlinkProgram.c -static
strip RescueSymlinkProgram
if [ -e "SuperUserName.exe" ]; then \
for f in SuperUserName IsExecutable usleep LinkOrExpandAll
List; do \
mv "$f.exe" "$f"; \
done; \
fi
mv SuperUserName IsExecutable usleep LinkOrExpandAll List
RescueSymlinkProgram ../bin/
chmod a+x ../bin/*
make[1]: Leaving directory `/home/gobo/Scripts-cvs-test/src'
It seems that the problem is with the python scripts.
I'm trying to identify the problem but I have a question: do I need to
build the package from within a gobo system? I'm running Ubuntu as base
system.
Thank you
Marco
> On 3/6/07, marco.cagnoli at oltrelinux.com <marco.cagnoli at oltrelinux.com>
> wrote:
>> Hi all,
>> finally I have the latest cvs version of Scripts on my desktop. I know,
>> it
>> could seem a poor result but not for me because I'm using internet at
>> work
>> through a proxy that doesn't allow me to use cvs, so I had to download
>> manually all the files via ViewCVS and "implement" a procedure to update
>> files manually in an easy way...
>
> Wow, this is a lot of work. You can ask me the next time so that I can
> fetch an anonymous copy for you and make it available as a tarball.
>
>> BTW, now I'm ready to make tests with the latest changes that I can see
>> are going forward in this period.
>>
>> Now I coem to the point: before I can start to use Scripts, I will need
>> to
>> compile somethong? I see there is a Makefile: do I need to run make?
>> Sorry
>> for my ignorance but I'm not a developer, only a tester...
>
> You need to run 'make' inside /Programs/Scripts/cvs so that it
> compiles the programs found in the src subdir. This includes
> LinkOrExpandAll.c, used by SymlinkProgram, and List.c, which is our
> 'l' program.
>
> --
> Lucas
> powered by /dev/dsp
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
More information about the gobolinux-users
mailing list