Starting here with compile problem

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Starting here with compile problem

tm_cad
This post has NOT been accepted by the mailing list yet.
Hello.

Downloaded the nightly, several times, and re-ran the wiki manual instructions for building on Linux (Debian).  Re-built everything including openscad_deps.  No errors and the binary is produced but when run it segfaults immediately showing libQtGui.so.4.8.6 as the likely candidate for the problem.  I see references to Qt5 in the compiling output but I'm at a loss to find a way keep it all at v4 or 5.  A search on the error comes up in google but nothing helpful, so far.  Here it is:

[404912.575116] openscad[3851]: segfault at 7fbb58f73550 ip 00007fbb569eecdc sp 00007ffc788d9e50 error 7 in libQtGui.so.4.8.6[7fbb5683a000+aa3000]

Suggestions, please.


thanks,
tjm
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

MichaelAtOz
Administrator
Welcome to the forum. Your post is still flagged as "This post has NOT been accepted by the mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list, and CLICK THE LINK in the registration email.

I've quoted your post for the linux guru's to ponder...

tm_cad wrote
Hello.

Downloaded the nightly, several times, and re-ran the wiki manual instructions for building on Linux (Debian).  Re-built everything including openscad_deps.  No errors and the binary is produced but when run it segfaults immediately showing libQtGui.so.4.8.6 as the likely candidate for the problem.  I see references to Qt5 in the compiling output but I'm at a loss to find a way keep it all at v4 or 5.  A search on the error comes up in google but nothing helpful, so far.  Here it is:

[404912.575116] openscad[3851]: segfault at 7fbb58f73550 ip 00007fbb569eecdc sp 00007ffc788d9e50 error 7 in libQtGui.so.4.8.6[7fbb5683a000+aa3000]

Suggestions, please.


thanks,
tjm
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

tp3
>> Downloaded the nightly, several times, and re-ran the wiki manual
>> instructions for building on Linux (Debian).  Re-built everything
>> including openscad_deps.  No errors and the binary is produced but when
>> run it segfaults immediately showing libQtGui.so.4.8.6 as the likely
>> candidate for the problem.  I see references to Qt5 in the compiling
>> output but I'm at a loss to find a way keep it all at v4 or 5.  A search
>> on the error comes up in google but nothing helpful, so far.  Here it is:
>>
This sounds like the binary is linked against both Qt4 and Qt5.
That's always going to crash. You can verify this by running

  ldd ../path/to/openscad

The main question is where this is coming from. One common case
we saw in the past was linking against the wrong libqscintilla
(e.g. building OpenSCAD against Qt5 but linking the Qt4 qscintilla)

CGAL also has some Qt extensions, so it could also come from
there, although I never had that on Debian.

ciao,
  Torsten.



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

tm_cad
This post has NOT been accepted by the mailing list yet.
Thanks for the greet and the info.

Torsten, I think you hit the openscad designed nail right on the head.  Two nails, actually.  
Changed a link for Qt4 and found a missing or bad libqscintilla lib that was re-installed and it now works.

After that I only needed to change a couple of pointers to some added modules.


Thanks,
Tony
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

tm_cad
This post has NOT been accepted by the mailing list yet.
There's a message saying something like 'post has not been accepted'.

I'm signed in so I'm not sure what happens with these messages, exactly.

tony
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

MichaelAtOz
Administrator
See the subscribe link at the top of the page, it signs up to the mailing list, you need to click the link in the email it sends you too.
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

MichaelAtOz
Administrator
oops, link at the top of the main screen (click on OpenSCAD top left)
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

adrian
For me, everytime I post a message on this forum from http://www.openscad.org/community.html, I keep getting a message to subscribe, with a checkbox to say Don't ask again and two buttons, one saying Subscribe and one that says I'm already subscribed.  It's actually really annoying as I keep checking the Don't ask again checkbox and pressing the I'm already Subscribed button, but it doesn't listen as it asks again the next time.

Anyone know what is going on here?  It is really starting to grate on me.
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

adrian
Here is the image of the reminder:


It happens everytime I open a new tab and go to http://www.openscad.org/community.html.
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

adrian
Or if I just click on that link and try posting something or reply to something.
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

MathLover
Same problem here. I keep getting the reminder, and when I post, I keep seeing the message that the post is not accepted by the mailing list. Meanwhile, I tried applying for it again, and I get all the posts twice by e-mail, except for my own posts.

It may have something to do with the security settings of the browser, as I block all cross-site javascripts by default.
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

Parkinbot
I'd rather say it is your browser's cookie settings. Nabble uses a bunch of cookies to remember you. If your browser deletes all cookies at session end or even doesn't accept any cookies you get this popup.

Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

tm_cad
This post has NOT been accepted by the mailing list yet.
Wow, this got off topic fast.  No matter though, needed info on both.

I've resolved the (my) compiling problem with the openscad-nightly so that's good and working.  Now I just need to figure out how to use it.  I just wanted to display a project someone has in the gallery portion of this forum that was done with a later version than what's available in the Debian repository but I'll try some other stuff.

I subscribed to the mailing list so all this stuff is probably going to show up in everyone's email shortly.  Sorry, but if it results in some more clear instructions on building openscad then it'll probably be worth it.  The manual instructions are already clear enough but some version-ing 'gotchas' maybe should be mentioned for those who are not Linux experts.

thanks,
tony
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem

MichaelAtOz
Administrator
In reply to this post by adrian
adrian wrote
Here is the image of the reminder:


It happens everytime I open a new tab and go to http://www.openscad.org/community.html.
Well, I've joined the club...
There is a cookie list.openscad.org named ml-reminder
When I deleted it I got the message box.
Haven't found out how to get it set again... :(
But now I have an opportunity to learn :)
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|

Re: Starting here with compile problem - fixing forum posting

MichaelAtOz
Administrator
You may need to allow cookies for openscad.org, I didn't have restrictions.
Well, I had to unsubscribe via:
http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1
(and respond to the email)
[wait a few minutes for confirmation email]
Subscribe via the same page, respond to email.
[waited 18m for nabble email]
click on link in email.
I didn't need to then click turn off list mail delivery button, you may or may-not want to do so.

After all that I got the list.openscad.org cookie ml-reminder back & I don't get the msg box.

Just licking the subscribe button doesn't trigger the nabble processes.
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!