Orange Forum • View topic - mds.px.new is missing from source/orangeom/px

mds.px.new is missing from source/orangeom/px

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

mds.px.new is missing from source/orangeom/px

Postby jgilbert » Thu Nov 24, 2005 5:55

I'm trying to build Orange from pure source on Debian Linux. All seems to be going well until it tries to build orangeom.so.

Interestingly, I tried renaming mds.px to mds.px.new and make did not succeed. At some point mds.px.new was renamed to mds.px then a python script tried to open mds.px.new.

Can you tell me what's going wrong here?

Postby jgilbert » Thu Nov 24, 2005 6:27

I just tried building orangeom from orange-linux-snap-2005-11-24.tgz and that didn't work either. It complained about not being able to find ../orange/px/stamp, which is funny as there isn't even an ../orange/px directory.

Also, are you aware that setup.py in orange-linux-snap-2005-11-24.tgz is completely empty?

Same problems

Postby viksit » Thu Nov 24, 2005 23:39

Exactly. I'm having similar troubles. Output of install:

--------------
cd ../..; pwd; ln -sf orange.so liborange.so
/home/viksit/installs/orange
make[1]: Leaving directory `/home/viksit/installs/orange/source/orange'
make[1]: Entering directory `/home/viksit/installs/orange/source/orangeom'
python ../pyxtract/pyxtract.py -m -q -n ORANGEOM triangulate.cpp optimizeAnchors .cpp orangeom.cpp mds.hpp mds.cpp som.cpp -l ../orange/px/stamp
Traceback (most recent call last):
File "../pyxtract/pyxtract.py", line 1033, in ?
make()
File "../pyxtract/pyxtract.py", line 896, in make
renewfiles(newfiles)
File "../pyxtract/pyxtract.py", line 875, in renewfiles
if recreate or not oldexists or not samefiles("px/"+i, "px/"+i+".new"):
File "../pyxtract/pyxtract.py", line 866, in samefiles
f1, f2 = open(n1, "rt"), open(n2, "rt")
IOError: [Errno 2] No such file or directory: 'px/mds.px.new'
make[1]: *** [px/stamp] Error 1
make[1]: Leaving directory `/home/viksit/installs/orange/source/orangeom'
make[1]: Entering directory `/home/viksit/installs/orange/source/orangene'
make[1]: Leaving directory `/home/viksit/installs/orange/source/orangene'
make[1]: Entering directory `/home/viksit/installs/orange/source/corn'
make[1]: Leaving directory `/home/viksit/installs/orange/source/corn'
make[1]: Entering directory `/home/viksit/installs/orange/source/statc'
g++ -fPIC -fpermissive -w -DLINUX -O3 -c statc.cpp -o obj/statc.o
gcc obj/statc.o -shared -lstdc++ -L../.. -lorange_include -lorange -o ../../stat c.so
make[1]: Leaving directory `/home/viksit/installs/orange/source/statc'
make: *** orangemds: No such file or directory. Stop.
make: *** [all] Error

-------------
Has anyone been able to resolve it yet?

Viksit

--
Viksit Gaur
Yale University Social Robotics Lab

Postby Janez » Thu Nov 24, 2005 23:54

I'm sorry, I fixed it (at least I hope so) but forgot to commit the changed file. The snapshot of sources should now work; please tell me if they don't.

I don't know what's wrong with the binary distribution (again!); it doesn't build due to a missing setup.py, but it's not my responsibility and I don't want to know about it. :) (But I'm gonna tell the one who should care.)

As for the empty archive, we've had a network problem and didn't notice that some disks failed to mount afterwards.

Postby jgilbert » Mon Nov 28, 2005 15:56

The sources now install, thank you.

I haven't tried the binary distribution again, installing from source is really very easy. My procedure is in the Test Forum 1. Regardless, any step towards simplifying installation is a good idea.


Return to Bugs



cron