Question: Building on Linux #101

Closed
hroncok opened this Issue Dec 26, 2012 · 37 comments

Comments

Projects
None yet
3 participants
@hroncok

hroncok commented Dec 26, 2012

Hi,

I would like to make Fedora packages of Repetier-Host, but I cannot use pre-build binaries, the software needs to be compiled on the Linux machine using mono tools.

Do you have any idea, how to build this without Visual Studio, on Linux?

Thanks for your help.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 27, 2012

Owner

A Fedora package would be cool.

Also I don't understand why using the binary packages is no option, you can still compile it with monodevelop. Open the c# project
monodevelop RepetierHost.csproj
Select Release as compile target and build. You get errors. Now copy the contents from the last binary installation especially data,config.ini,slic3r and the OpenTK stuff in the created bin/Release folder.
Replace the missing OpenTK references with the copied ones and remove all remaining unresolved references. Now recompile and have fun.

Owner

repetier commented Dec 27, 2012

A Fedora package would be cool.

Also I don't understand why using the binary packages is no option, you can still compile it with monodevelop. Open the c# project
monodevelop RepetierHost.csproj
Select Release as compile target and build. You get errors. Now copy the contents from the last binary installation especially data,config.ini,slic3r and the OpenTK stuff in the created bin/Release folder.
Replace the missing OpenTK references with the copied ones and remove all remaining unresolved references. Now recompile and have fun.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 27, 2012

No binary package is a Fedora policy. I also cannot bundle OpenTK, but use separate package (that I cannot find right now, so I might need to make that as well).

OK, I'll try that and let you know if there are any problems.

hroncok commented Dec 27, 2012

No binary package is a Fedora policy. I also cannot bundle OpenTK, but use separate package (that I cannot find right now, so I might need to make that as well).

OK, I'll try that and let you know if there are any problems.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 27, 2012

Owner

Ok, if it is a policy I understand that. If you need to take OpenTK make sure to use the nightly build. It contains important fixes not contained in the official stable release, which isn't updates since a long time (like the nightly builds).

Owner

repetier commented Dec 27, 2012

Ok, if it is a policy I understand that. If you need to take OpenTK make sure to use the nightly build. It contains important fixes not contained in the official stable release, which isn't updates since a long time (like the nightly builds).

@wd5gnr

This comment has been minimized.

Show comment
Hide comment
@wd5gnr

wd5gnr Dec 29, 2012

I could not get a build (I am wanting to add the file-based serial port I mentioned earlier). I redo the OpenTK references and get a clean compile. I get past the can't find translations by copying data from a good install. But then I hang on a IndexOutofRange exception when filling a PNG in a switch button (in particular, the switch_off.png in the switchbutton.designer.cs (line 59).

Any idea why that should be?

wd5gnr commented Dec 29, 2012

I could not get a build (I am wanting to add the file-based serial port I mentioned earlier). I redo the OpenTK references and get a clean compile. I get past the can't find translations by copying data from a good install. But then I hang on a IndexOutofRange exception when filling a PNG in a switch button (in particular, the switch_off.png in the switchbutton.designer.cs (line 59).

Any idea why that should be?

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 30, 2012

Owner

That is in deed a strange error. I got it some month ago and thought is was a mono bug unable to read the resource file where the images are stored. Now, when I compile it with Monodevelop 2.8.8.4 under Fedora I don't get it any more. Even tried Clean and it didn't come back.

Not sure what mono version and imagelist caused the problem with me, but perhaps the problem is version dependend?

Anyway the problem comes from line 55:
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));

The resources contain 4 images and only 2 are loaded in your case. I never got this problem with VS2008 compiled code, so my guess is the Monodevelop didn't include the complete resources.

As a last solution you can delete the last2 image includes and in Main.cs line 179:
SwitchButton.imageOffset = RegMemory.GetInt("onOffImageOffset", 0);

then only the first 2 images are used, but the switch in Repetier config then has no effect.

Owner

repetier commented Dec 30, 2012

That is in deed a strange error. I got it some month ago and thought is was a mono bug unable to read the resource file where the images are stored. Now, when I compile it with Monodevelop 2.8.8.4 under Fedora I don't get it any more. Even tried Clean and it didn't come back.

Not sure what mono version and imagelist caused the problem with me, but perhaps the problem is version dependend?

Anyway the problem comes from line 55:
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));

The resources contain 4 images and only 2 are loaded in your case. I never got this problem with VS2008 compiled code, so my guess is the Monodevelop didn't include the complete resources.

As a last solution you can delete the last2 image includes and in Main.cs line 179:
SwitchButton.imageOffset = RegMemory.GetInt("onOffImageOffset", 0);

then only the first 2 images are used, but the switch in Repetier config then has no effect.

@wd5gnr

This comment has been minimized.

Show comment
Hide comment
@wd5gnr

wd5gnr Dec 30, 2012

I am running 2.8.6.3 so let me try 2.8.8.4.

Thanks.

wd5gnr commented Dec 30, 2012

I am running 2.8.6.3 so let me try 2.8.8.4.

Thanks.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 30, 2012

Ok, I've been able to build it from source using xbuild.

About Slic3r and Skeinforge -> They are installed somewhere in system. Is there a way to add default config somewhere to look for them in exact locations? When I run RepetierHost, I can see there is a setting for them, that allows the user to set the path for various things, such as skeinforge_craft.py and so on, but it is empty.

That leads to another question: Where is RepetierHost configuration stored? Is it possible to have the executable and data in system dirs (where user cannot write) and the configuration in home dir (where user can write)? If it is not designed in that way, I can do some symbolic linking.

hroncok commented Dec 30, 2012

Ok, I've been able to build it from source using xbuild.

About Slic3r and Skeinforge -> They are installed somewhere in system. Is there a way to add default config somewhere to look for them in exact locations? When I run RepetierHost, I can see there is a setting for them, that allows the user to set the path for various things, such as skeinforge_craft.py and so on, but it is empty.

That leads to another question: Where is RepetierHost configuration stored? Is it possible to have the executable and data in system dirs (where user cannot write) and the configuration in home dir (where user can write)? If it is not designed in that way, I can do some symbolic linking.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

Slic3r and Skeinforge can be at any place you want as long as you set it in the config. If the fields are empty the host assumes you want to use the bundled version relative to it's executable. It should be no problem to put a symbolic link at these positions instead of the real executable.
If you give me possible target names I can also add additional tests to use if the bundled files are not present.

Configurations are stored in registry. Mono maps this to individual files in the users home directory. You will find your config files in
$HOME/.mono/registry/CurrentUser/software/repetier
and it's subdirectories. The main problem is that these are per user configs. You could add a check in the startup script and create them with system defaults when the files are not there. You can remove all settings from these files you didn't want to define. The host refills missing parameter with it's default values.

Owner

repetier commented Dec 31, 2012

Slic3r and Skeinforge can be at any place you want as long as you set it in the config. If the fields are empty the host assumes you want to use the bundled version relative to it's executable. It should be no problem to put a symbolic link at these positions instead of the real executable.
If you give me possible target names I can also add additional tests to use if the bundled files are not present.

Configurations are stored in registry. Mono maps this to individual files in the users home directory. You will find your config files in
$HOME/.mono/registry/CurrentUser/software/repetier
and it's subdirectories. The main problem is that these are per user configs. You could add a check in the startup script and create them with system defaults when the files are not there. You can remove all settings from these files you didn't want to define. The host refills missing parameter with it's default values.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

Slic3r is in PATH as command slic3r, I assume the change shoudl be in view/Slic3r.cs, lines 348-356.

Skeinforge is in directory /usr/lib/python2.7/site-packages/skeinforge, such as craft is in /usr/lib/python2.7/site-packages/skeinforge/skeinforge_application/skeinforge_plugins/craft.py.

Config: So the config is user based but it has to be created by the startup script?

Thanks

hroncok commented Dec 31, 2012

Slic3r is in PATH as command slic3r, I assume the change shoudl be in view/Slic3r.cs, lines 348-356.

Skeinforge is in directory /usr/lib/python2.7/site-packages/skeinforge, such as craft is in /usr/lib/python2.7/site-packages/skeinforge/skeinforge_application/skeinforge_plugins/craft.py.

Config: So the config is user based but it has to be created by the startup script?

Thanks

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

Slic3r and Skeinforge are searched twice. Once for slicing and once for configuring. Slic3r has around line 731 it's second path test.

There is no real need to create a config script. These are automatically created on first host start. But if you want to add preconfigured data, you can only do this before the user runs the host as you don't want to overwrite existing files. The logical position would be the startup script of the host.

I'm currently a bit busy but I will try to add the search paths for the next release.

Can I already download the Slic3r/Skeinforge packages somewhere for testing and how do I do that (no apt-get like debian I guess)?

Owner

repetier commented Dec 31, 2012

Slic3r and Skeinforge are searched twice. Once for slicing and once for configuring. Slic3r has around line 731 it's second path test.

There is no real need to create a config script. These are automatically created on first host start. But if you want to add preconfigured data, you can only do this before the user runs the host as you don't want to overwrite existing files. The logical position would be the startup script of the host.

I'm currently a bit busy but I will try to add the search paths for the next release.

Can I already download the Slic3r/Skeinforge packages somewhere for testing and how do I do that (no apt-get like debian I guess)?

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

Install Fedora 17 64bit (Xfce or LXDE version will suit your needs):

Add my repository:

Install the software:

  • run yum -y install slic3r printrun or just yum -y install slic3r skeinforge [as root as well]

You should see the apps in the menu in the Graphics section.

hroncok commented Dec 31, 2012

Install Fedora 17 64bit (Xfce or LXDE version will suit your needs):

Add my repository:

Install the software:

  • run yum -y install slic3r printrun or just yum -y install slic3r skeinforge [as root as well]

You should see the apps in the menu in the Graphics section.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

Thanks for the commands. printrun was no problem but slic3r is not possible to install that way. Too many unresolved dependencies:

Packages skipped because of dependency problems:
perl-Crypt-CBC-2.29-10.fc17.noarch from fedora
perl-Growl-GNTP-0.15-4.fc17.noarch from updates
perl-Language-Expr-0.19-3.fc17.noarch from reprap
perl-Math-Expression-Evaluator-0.3.2-3.fc17.noarch from reprap
perl-Math-Libm-1.00-6.fc17.i686 from updates
perl-Math-NumSeq-55-1.fc17.noarch from reprap
perl-Math-PlanePath-90-2.fc17.noarch from reprap
perl-Module-Util-1.07-8.fc17.noarch from fedora
perl-Regexp-Grammars-1.021-4.fc17.noarch from updates
perl-SVG-2.49-9.fc17.noarch from fedora
perl-UUID-Tiny-1.03-2.fc17.noarch from updates
perl-boolean-0.28-2.fc17.noarch from fedora
perl-constant-defer-5-3.fc17.noarch from updates
perl-libintl-1.20-6.fc17.i686 from fedora
slic3r-0.9.7-1.fc17.noarch from reprap
uuid-1.6.2-11.fc17.i686 from updates
uuid-perl-1.6.2-11.fc17.i686 from updates

Or with your command:
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Factor::XS)
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Prime::XS)
Error: Package: slic3r-0.9.7-1.fc17.noarch (reprap)
Requires: perl(Math::Geometry::Voronoi)
Error: Package: slic3r-0.9.7-1.fc17.noarch (reprap)
Requires: perl(Math::ConvexHull::MonotoneChain)
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Factor::XS) >= 0.40
Error: Package: slic3r-0.9.7-1.fc17.noarch (reprap)
Requires: perl(Boost::Geometry::Utils)
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Prime::XS) >= 0.23
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Factor::XS) >= 0.39

I know I have installed all the CPAN packages required manually but that doesnt help here.
I see you have all these files in your repository but they seem to get ignored.

yum search perl-Math-Factor
Loaded plugins: langpacks, presto, refresh-packagekit
Warning: No matches found for: perl-Math-Factor
No Matches found

Also Pronterface and dependencies were found. What am I doing wrong?

Owner

repetier commented Dec 31, 2012

Thanks for the commands. printrun was no problem but slic3r is not possible to install that way. Too many unresolved dependencies:

Packages skipped because of dependency problems:
perl-Crypt-CBC-2.29-10.fc17.noarch from fedora
perl-Growl-GNTP-0.15-4.fc17.noarch from updates
perl-Language-Expr-0.19-3.fc17.noarch from reprap
perl-Math-Expression-Evaluator-0.3.2-3.fc17.noarch from reprap
perl-Math-Libm-1.00-6.fc17.i686 from updates
perl-Math-NumSeq-55-1.fc17.noarch from reprap
perl-Math-PlanePath-90-2.fc17.noarch from reprap
perl-Module-Util-1.07-8.fc17.noarch from fedora
perl-Regexp-Grammars-1.021-4.fc17.noarch from updates
perl-SVG-2.49-9.fc17.noarch from fedora
perl-UUID-Tiny-1.03-2.fc17.noarch from updates
perl-boolean-0.28-2.fc17.noarch from fedora
perl-constant-defer-5-3.fc17.noarch from updates
perl-libintl-1.20-6.fc17.i686 from fedora
slic3r-0.9.7-1.fc17.noarch from reprap
uuid-1.6.2-11.fc17.i686 from updates
uuid-perl-1.6.2-11.fc17.i686 from updates

Or with your command:
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Factor::XS)
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Prime::XS)
Error: Package: slic3r-0.9.7-1.fc17.noarch (reprap)
Requires: perl(Math::Geometry::Voronoi)
Error: Package: slic3r-0.9.7-1.fc17.noarch (reprap)
Requires: perl(Math::ConvexHull::MonotoneChain)
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Factor::XS) >= 0.40
Error: Package: slic3r-0.9.7-1.fc17.noarch (reprap)
Requires: perl(Boost::Geometry::Utils)
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Prime::XS) >= 0.23
Error: Package: perl-Math-NumSeq-55-1.fc17.noarch (reprap)
Requires: perl(Math::Factor::XS) >= 0.39

I know I have installed all the CPAN packages required manually but that doesnt help here.
I see you have all these files in your repository but they seem to get ignored.

yum search perl-Math-Factor
Loaded plugins: langpacks, presto, refresh-packagekit
Warning: No matches found for: perl-Math-Factor
No Matches found

Also Pronterface and dependencies were found. What am I doing wrong?

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

Try it now.

yum clean all && yum install slic3r

hroncok commented Dec 31, 2012

Try it now.

yum clean all && yum install slic3r

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

And do not install anything from CPAN, if you want to test the packages.

hroncok commented Dec 31, 2012

And do not install anything from CPAN, if you want to test the packages.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

I saw it update your repo but then the same error when it came into installing slic3r.

The CPAN updates were for the slic3r bundled with my host. I have a script to update all dependencies and some are resolved via CPAN having no repo for it. More or less the commands given at the slic3r homepage.

Owner

repetier commented Dec 31, 2012

I saw it update your repo but then the same error when it came into installing slic3r.

The CPAN updates were for the slic3r bundled with my host. I have a script to update all dependencies and some are resolved via CPAN having no repo for it. More or less the commands given at the slic3r homepage.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

Are you running 64bit?

hroncok commented Dec 31, 2012

Are you running 64bit?

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

Good point.

uname -a
Linux fedora 3.6.10-2.fc17.i686 #1 SMP Tue Dec 11 18:33:15 UTC 2012 i686 i686 i386 GNU/Linux
uname -m
i686

So it looks like I installed fedora in 32 bit mode to test that as well.

Never mind. I will put a link to my Slic3r version for that. Should suffice for path testing.

Owner

repetier commented Dec 31, 2012

Good point.

uname -a
Linux fedora 3.6.10-2.fc17.i686 #1 SMP Tue Dec 11 18:33:15 UTC 2012 i686 i686 i386 GNU/Linux
uname -m
i686

So it looks like I installed fedora in 32 bit mode to test that as well.

Never mind. I will put a link to my Slic3r version for that. Should suffice for path testing.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

Currently the packages in repository are 64bit, because building them for 32bit is pain for me. That's why you could install printrun - it is noarch.

hroncok commented Dec 31, 2012

Currently the packages in repository are 64bit, because building them for 32bit is pain for me. That's why you could install printrun - it is noarch.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

I like noarch:-) Repetier-Host should also be noarch if you remove Slic3r/Skeinforge.

Owner

repetier commented Dec 31, 2012

I like noarch:-) Repetier-Host should also be noarch if you remove Slic3r/Skeinforge.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

And that's the reason, why yum install RepetierHost should work for you now (be sure to remove any /usr/bin scripts installed by configureFirst.sh)

hroncok commented Dec 31, 2012

And that's the reason, why yum install RepetierHost should work for you now (be sure to remove any /usr/bin scripts installed by configureFirst.sh)

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

After a clean he found it but I get
Downloading Packages:
RepetierHost-0.82b-1.fc17.noar FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/RepetierHost-0.82b-1.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/RepetierHost-0.82b-1.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/RepetierHost-0.82b-1.fc17.noarch.rpm
Trying other mirror.
opentk-0.0-2.20120523svn3125.f FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
Trying other mirror.

Error Downloading Packages:
RepetierHost-0.82b-1.fc17.noarch: [Errno 256] No more mirrors to try.
opentk-0.0-2.20120523svn3125.fc17.noarch: [Errno 256] No more mirrors to try.

are you still uploading the files or are this permission problems?

Owner

repetier commented Dec 31, 2012

After a clean he found it but I get
Downloading Packages:
RepetierHost-0.82b-1.fc17.noar FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/RepetierHost-0.82b-1.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/RepetierHost-0.82b-1.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/RepetierHost-0.82b-1.fc17.noarch.rpm
Trying other mirror.
opentk-0.0-2.20120523svn3125.f FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
Trying other mirror.

Error Downloading Packages:
RepetierHost-0.82b-1.fc17.noarch: [Errno 256] No more mirrors to try.
opentk-0.0-2.20120523svn3125.fc17.noarch: [Errno 256] No more mirrors to try.

are you still uploading the files or are this permission problems?

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

I was reuploading them, please run the command again (with cleaning).

hroncok commented Dec 31, 2012

I was reuploading them, please run the command again (with cleaning).

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

You have a little error with OpenTK. It searches
Downloading Packages:
opentk-0.0-2.20120523svn3125.f FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm

but on your server you have which is newer I think.
OpenTK-0.0-3.20120523svn3125.fc17.noarch.rpm

Owner

repetier commented Dec 31, 2012

You have a little error with OpenTK. It searches
Downloading Packages:
opentk-0.0-2.20120523svn3125.f FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm

but on your server you have which is newer I think.
OpenTK-0.0-3.20120523svn3125.fc17.noarch.rpm

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

If you run yum clean all && yum install RepetierHost it should now
search for OpenTK.

hroncok commented Dec 31, 2012

If you run yum clean all && yum install RepetierHost it should now
search for OpenTK.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

Sorry, still the wrong OpenTK dependency

yum clean all && yum install RepetierHost
Loaded plugins: langpacks, presto, refresh-packagekit
Cleaning repos: fedora reprap updates
Cleaning up Everything
No delta-package files removed by presto
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/17/i386/metalink | 33 kB 00:00
fedora | 4.2 kB 00:00
reprap | 2.9 kB 00:00
updates/17/i386/metalink | 20 kB 00:00
updates | 4.7 kB 00:00
(1/3): reprap/primary_db | 25 kB 00:00
(2/3): fedora/primary_db | 12 MB 00:02
(3/3): updates/primary_db | 5.9 MB 00:00
fedora/group_gz | 434 kB 00:00
updates/group_gz | 439 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package RepetierHost.noarch 0:0.82b-1.fc17 will be installed
--> Processing Dependency: mono(OpenTK.GLControl) = 1.1.0.0 for package: RepetierHost-0.82b-1.fc17.noarch
--> Processing Dependency: mono(OpenTK) = 1.1.0.0 for package: RepetierHost-0.82b-1.fc17.noarch
--> Running transaction check
---> Package opentk.noarch 0:0.0-2.20120523svn3125.fc17 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

Installing:
RepetierHost noarch 0.82b-1.fc17 reprap 363 k
Installing for dependencies:
opentk noarch 0.0-2.20120523svn3125.fc17 reprap 1.6 M

Transaction Summary

Install 1 Package (+1 Dependent package)

Total download size: 2.0 M
Installed size: 8.5 M
Is this ok [y/N]: y
Downloading Packages:
opentk-0.0-2.20120523svn3125.f FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
Trying other mirror.
(1/2): RepetierHost-0.82b-1.fc17.noarch.rpm | 363 kB 00:00

Error Downloading Packages:
opentk-0.0-2.20120523svn3125.fc17.noarch: [Errno 256] No more mirrors to try.

Owner

repetier commented Dec 31, 2012

Sorry, still the wrong OpenTK dependency

yum clean all && yum install RepetierHost
Loaded plugins: langpacks, presto, refresh-packagekit
Cleaning repos: fedora reprap updates
Cleaning up Everything
No delta-package files removed by presto
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/17/i386/metalink | 33 kB 00:00
fedora | 4.2 kB 00:00
reprap | 2.9 kB 00:00
updates/17/i386/metalink | 20 kB 00:00
updates | 4.7 kB 00:00
(1/3): reprap/primary_db | 25 kB 00:00
(2/3): fedora/primary_db | 12 MB 00:02
(3/3): updates/primary_db | 5.9 MB 00:00
fedora/group_gz | 434 kB 00:00
updates/group_gz | 439 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package RepetierHost.noarch 0:0.82b-1.fc17 will be installed
--> Processing Dependency: mono(OpenTK.GLControl) = 1.1.0.0 for package: RepetierHost-0.82b-1.fc17.noarch
--> Processing Dependency: mono(OpenTK) = 1.1.0.0 for package: RepetierHost-0.82b-1.fc17.noarch
--> Running transaction check
---> Package opentk.noarch 0:0.0-2.20120523svn3125.fc17 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

Installing:
RepetierHost noarch 0.82b-1.fc17 reprap 363 k
Installing for dependencies:
opentk noarch 0.0-2.20120523svn3125.fc17 reprap 1.6 M

Transaction Summary

Install 1 Package (+1 Dependent package)

Total download size: 2.0 M
Installed size: 8.5 M
Is this ok [y/N]: y
Downloading Packages:
opentk-0.0-2.20120523svn3125.f FAILED HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found : http://repo.hroncok.cz/reprap/opentk-0.0-2.20120523svn3125.fc17.noarch.rpm
Trying other mirror.
(1/2): RepetierHost-0.82b-1.fc17.noarch.rpm | 363 kB 00:00

Error Downloading Packages:
opentk-0.0-2.20120523svn3125.fc17.noarch: [Errno 256] No more mirrors to try.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

That's silly.

What is the result of yum clean all && yum info opentk?

hroncok commented Dec 31, 2012

That's silly.

What is the result of yum clean all && yum info opentk?

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Dec 31, 2012

Owner

Interesting. It showed the correct OpenTK version and now install of RepetierHost also worked!

Great job. Will it be part of the standard Fedora distribution in the future or is this a private repo for printer fans?

Owner

repetier commented Dec 31, 2012

Interesting. It showed the correct OpenTK version and now install of RepetierHost also worked!

Great job. Will it be part of the standard Fedora distribution in the future or is this a private repo for printer fans?

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Dec 31, 2012

This is a private repo for testing. But I am working on getting things to Fedora. OpenSCAD and some of Slic3r dependencies are already there. For more info, see https://fedoraproject.org/wiki/Features/3D_Printing

hroncok commented Dec 31, 2012

This is a private repo for testing. But I am working on getting things to Fedora. OpenSCAD and some of Slic3r dependencies are already there. For more info, see https://fedoraproject.org/wiki/Features/3D_Printing

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Jan 9, 2013

Please don't forget to ping me, when you add searching Slic3r & Skeinforge in system dirs. Thanks.

hroncok commented Jan 9, 2013

Please don't forget to ping me, when you add searching Slic3r & Skeinforge in system dirs. Thanks.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Jan 15, 2013

Here are the variables to try:

  • Slic3r config firectory: $HOME/.slic3r
  • Slic3r Executable: slic3r (in $PATH)
    • Dont' forget to change "Leave blank to use the bundled version" to "Leave blank to use the bundled or system version"
  • Skeinforge application:
    • In case you mean an executable: skeinforge (in $PATH)
    • In case you mean a python file to pass as an argument to the interpreter: /usr/lib/python2.7/site-packages/skeinforge/skeinforge_application/skeinforge.py
  • Skeinforge craft:
    • In case you mean an executable: skeinforge-craft (in $PATH) (uses pypy)
    • In case you mean a python file to pass as an argument to the interpreter: /usr/lib/python2.7/site-packages/skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py
  • Working directory: no idea what is ment by that, but skeinforge profiles should go to $HOME/.skeinforge
  • Python interpreter: python (in $PATH)
  • PyPy interpreter: pypy (in $PATH)

hroncok commented Jan 15, 2013

Here are the variables to try:

  • Slic3r config firectory: $HOME/.slic3r
  • Slic3r Executable: slic3r (in $PATH)
    • Dont' forget to change "Leave blank to use the bundled version" to "Leave blank to use the bundled or system version"
  • Skeinforge application:
    • In case you mean an executable: skeinforge (in $PATH)
    • In case you mean a python file to pass as an argument to the interpreter: /usr/lib/python2.7/site-packages/skeinforge/skeinforge_application/skeinforge.py
  • Skeinforge craft:
    • In case you mean an executable: skeinforge-craft (in $PATH) (uses pypy)
    • In case you mean a python file to pass as an argument to the interpreter: /usr/lib/python2.7/site-packages/skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py
  • Working directory: no idea what is ment by that, but skeinforge profiles should go to $HOME/.skeinforge
  • Python interpreter: python (in $PATH)
  • PyPy interpreter: pypy (in $PATH)
@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Jan 15, 2013

Owner

Ok I will try these. Also not sure when I come to this point. Long todo list:-( but it is on my list.

Owner

repetier commented Jan 15, 2013

Ok I will try these. Also not sure when I come to this point. Long todo list:-( but it is on my list.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Jan 17, 2013

RepetierHost pckage was approved in Fedora.

hroncok commented Jan 17, 2013

RepetierHost pckage was approved in Fedora.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Jan 17, 2013

Owner

Great news:-)

Owner

repetier commented Jan 17, 2013

Great news:-)

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Jan 23, 2013

Owner

Ok, version 0.83 should now find everything on it's own. It even finds the skeinforge profiles if you leave the field empty.

Owner

repetier commented Jan 23, 2013

Ok, version 0.83 should now find everything on it's own. It even finds the skeinforge profiles if you leave the field empty.

@repetier repetier closed this Jan 23, 2013

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Jan 23, 2013

It finds Slic3r and Skeinforge. However the Configure button doesn't work with Slic3r, only with Skeinforge.

hroncok commented Jan 23, 2013

It finds Slic3r and Skeinforge. However the Configure button doesn't work with Slic3r, only with Skeinforge.

@repetier

This comment has been minimized.

Show comment
Hide comment
@repetier

repetier Jan 25, 2013

Owner

I see. With every update I got a new bundled slic3r which was used instead so i didn't notice. Current github version fixes that problem.

Owner

repetier commented Jan 25, 2013

I see. With every update I got a new bundled slic3r which was used instead so i didn't notice. Current github version fixes that problem.

@hroncok

This comment has been minimized.

Show comment
Hide comment
@hroncok

hroncok Jan 25, 2013

Works fine, thanks.

hroncok commented Jan 25, 2013

Works fine, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment