LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-15-2008, 12:41 AM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 873

Rep: Reputation: 51
After Installing Scribus using Src2pkg to compile getting 'Inconsistency detected....


As the I said above, just used src2pkg to create Scribus pkg and installed -it is working fine on my Xfce4.4.2 Desktop in Slackware12. Now during boot I am getting the following attention grabber:
Inconsisteny detected id.so : di version C : 230 : check map versions : Assertion needed! =(( void *)0)' failed!

So I shutdown and rebooted and all lines that scroll by during boot up scrolled really fast and like some lines where being skipped, and then login scrolled by a bunch of times till it finally stopped. I logged in as root and shutdown again. Waited a few minutes and booted again, this time without a problem?

Any ideas what the Inconsistency line means? I am thinking do I need all the stuff in /tmp or can I just clean it out? and caches too... How do I do that? Also I don't need those little sayings every time I boot up - how do I get rid of them?

Think I need to clear out my var log??? How?

Also, if anyone could tell my what to do so I don't get the following message when I shutdown from xfce: xfde:xfdesktop:3387 critical**: settings_register_callback: assertion 'cb && usr_data && mcs_client 'failed
(this message repeats a couple of times???? Something I haven't configured? What and how do I do it?

thanks
 
Old 02-16-2008, 02:50 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,897

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
I'm pretty sure that doesn't have anything to do with scribus or src2pkg. I've searched for similar error messages and found nothing right away.

It might help if you post the output of the 'dmesg' command during bootup. This gets saved to the file /var/log/dmesg.
Do not empty your /var/log directory. You can empty /tmp, but do it just before shutting down, not while you are using your system.

You have several questions here. You will be more likely to get proper answers by creating a separate thread for each question, but don't forget to use the search function for the forum since your question may have already been answered before.
 
Old 02-16-2008, 10:50 PM   #3
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 873

Original Poster
Rep: Reputation: 51
Thanks gnashley, i didn't think inconsistency problem had to do with scribus or src2pkg, the problem just occurred after i had done the compile and install pkg.

Anyway I did clean out /tmp folder, but I did it as root and then signed in as user and ran xfce all before I read your post to clean tmp just before shutting down. lol

Long story short, inconsistency problem has not repeated and scribus works fine except its startup icon installed into Ooo menu???
 
Old 02-17-2008, 01:42 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,897

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
What do you mean about the OOo menu? Maybe this has something to do with the content of the scribus.desktop file?
 
Old 02-17-2008, 03:03 AM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 73
For future reference there is a slackbuild for scribus that works really well.
 
Old 02-17-2008, 02:29 PM   #6
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 873

Original Poster
Rep: Reputation: 51
Scribus start icon loaded into the OpenOffice Sub Menu on Xfce Menu, meaning I have to click xfce menu, OpenOffice to open its sub menu where its component apps start icons are, ie. writer, drawer, calc. and scribus button. In X-Applications where apps are listed with corresponding categories, obviously Ooo
is an Office App. Scribus is a Graphic Layout App but its listed in the office category, this may have caused its startup button to intall into Ooo startup submenu. Scribus is working well, just accessing it is un-intuitively inconvenient.
The slack build is an older version where 1.3.3.11 had some freezing bugs worked out. Also, src2pkg is really is more along my software install skill level and gnashely is quick to educate. Thanks

Last edited by NightSky; 02-17-2008 at 02:32 PM.
 
Old 02-17-2008, 03:25 PM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 73
What are the contents of the scribus.desktop file?
 
Old 02-18-2008, 03:55 PM   #8
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 873

Original Poster
Rep: Reputation: 51
Shadowsnipes, scribus.desktop is a configuration file... there is no submenu content.
Anyway, during googling I found out that Scribus by default installs the startup icon in OpenOffice's submenu... and found an Xfce work around finally I was able to create startup buttons with launcher app by combining icon.png and executable.

Xfce needs a good working forum, wish i could start one Look a next post. lolol Thanks

Last edited by NightSky; 02-18-2008 at 03:57 PM.
 
Old 02-18-2008, 04:36 PM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 73
The .desktop "shortcut" file makes a difference as to where apps goes in the menus by default. Here is an
exert of my /usr/share/applications/kde/scribus.desktop
Code:
Exec=scribus %f
MimeType=application/x-scribus
Terminal=false
Icon=scribusicon
Type=Application
X-StandardInstall=false
Categories=Application;Qt;Office;WordProcessor;
StartupWMClass=scribus
X-KDE-SubstituteUID=false
X-KDE-Username=
DocPath=scribus
The Catergories determines where in the menu the shortcut will go by default. If you want it to go somewhere else (such as the graphics section) then change this to something like
Code:
Categories=Application;Qt;Graphics;
I understand why scribus is lumped with the office stuff, though. A lot of people use scribus instead of Microsoft Publisher.
 
Old 02-19-2008, 07:25 PM   #10
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 873

Original Poster
Rep: Reputation: 51
IC, Shadowsnipes thanks. Unfortunately Xfce doesn't setup shortcuts like Kde. The sribus desktop shortcut would only insall onto the xfce menu. Also the properties for scribus desktop are not transferable to xfce launch bar. But its all good now.

This is off topic but can you use scribus to create websites? If so do u know any related tutorials or documentation? Thanks I am finally getting to do some work on Xfce, I am sooo happy about this. Using xfce more than mac laptop and XP Box at this point.

Last edited by NightSky; 02-19-2008 at 07:39 PM.
 
Old 02-20-2008, 03:06 AM   #11
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 73
Quote:
Originally Posted by NightSky View Post
This is off topic but can you use scribus to create websites? If so do u know any related tutorials or documentation? Thanks I am finally getting to do some work on Xfce, I am sooo happy about this. Using xfce more than mac laptop and XP Box at this point.
Not that I know of. For web design I would recommend either bluefish or quanta plus. If you like DreamWeaver then you will probably like quanta plus better.

I personally like Bluefish better and, as you can see from the link, there is a slackBuild for it.
 
Old 02-21-2008, 11:39 AM   #12
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 765

Rep: Reputation: 55
Nightsky,

Quote:
Think I need to clear out my var log??? How?
Over time your /var/log files will get very large, and you are right to think about cleaning up, syslog and messages among others will get huge if they are not managed.
Slackware is set up to do this automatically for you, the only thing is, it is by default set to do this in the middle of the night, (suitable for always-on servers, but not so useful for a desktop system that is switched off at night)

crond is a daemon started by /etc/rc.d/rc.M, and is designed to run tasks at regular intervals.
If you look in /var/spool/cron/crontabs, you should see a file called root. This is root's crontab (users can have them too, but to rotate the logs in /var/log, root priviledges are required).

so to look at root's crontab, as root, type crontab -l (see man crontab)

there are entries for hourly,daily,weekly and monthly. Here is my entry for the daily part:

# Run daily cron jobs at 18:40 every day:
40 18 * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null

I have changed mine to run at 40 minutes past hour 18 (ie 6:40 PM when my computer is usually running). It runs the scripts in /etc/cron.daily, which includes logrotate.
logrotate runs according to the directives in /etc/logrotate.conf (and which in turn, also accesses the log rotation information in /etc/logrotate.d). If you look in /etc/logrotate.d, you will see a file called syslog. Take a look at /etc/logrotate.conf and /etc/logrotate.d/syslog - here you will see the names of the files in /var/log which are rotated - starting to get the idea?

As the logs are rotated, you will see files eg syslog.1 syslog.2 etc. The number of these that you get depends on the 'rotate' command in /etc/logrotate.conf. Study this file, you should be able to work out what is going on. Note that a few lines are left in each log after a rotation.

So all you need to do is modify your crontab to run when your machine is likely to be up.
This is done with crontab -e (as root of course), from here it is straightforward vi style editing. Make a copy of the file first in case you mess up.

here is a guide to what the first five entries of each crontab entry mean, (a "*" pads out values that are not required).

minute hour dom month dow

minute This controls what minute of the hour the command will run on,
and is between '0' and '59'

hour This controls what hour the command will run on, and is specified in
the 24 hour clock, values must be between 0 and 23 (0 is midnight)

dom This is the Day of Month, that you want the command run on, e.g. to
run a command on the 19th of each month, the dom would be 19.

month This is the month a specified command will run on, (0-12).

dow This is the Day of Week that you want a command to run on(0-7).



Finally, you can force a logrotate from the command line (You must force it to make it run when it doesn't think its time yet!)
logrotate -f /etc/logrotate.conf

tobyl

Last edited by tobyl; 02-21-2008 at 11:40 AM.
 
Old 02-21-2008, 01:02 PM   #13
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 873

Original Poster
Rep: Reputation: 51
Hello tobyl and thanks, copied and saved your instructions. Shadowsnipes why do you like Bluefish as vs. Quanta Plus? I have never used a Web page builder or editor. I tought myself some basic html and am learning basic CSS. Tried using Open Office to create a simple Index web page and when I openned it there was just too much extraneous formating code I wound up deleting with vi but it was too much extra work and just link to CSS page for background color and text. Any suggestions are appreciated.
BTW Shadowsnipes; I found the content of scribus.desktop file and it is just like yours. Think the Categories=Application line needs to be changed? Maybe Office ;WordProcessor replaced different category? Thanks

Last edited by NightSky; 02-21-2008 at 01:20 PM.
 
Old 02-22-2008, 02:18 AM   #14
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 73
I would never recommend somebody use OpenOffice or Microsoft Office to create web pages. If you want a WYSIWYG (What you see is what you get) editor like DreamWeaver then Quanta Plus should be worth learning how to use. Bluefish also has some of this, but I find that it gets in the way less if you want to do everything by hand. As such, it is a smaller, lighter program, and there is a slackBuild for it (so it is super easy to install on Slackware).

Speaking of writing web pages by hand, that is what I always do. I just use bluefish because I like the preview feature and I can set it up to complete some tags for me. HTML-Kit for Windows is by far my favorite web editor, but I still pretty much just use it as a glorified text editor (with a built-in preview). In that respect, any editor with syntax highlighting should do. On Slackware these could include Kate, vi, emacs, nano, and more. Choosing an editor with the ability to jump from beginning to end of tags is very useful as well. Some will also check you code to see if it follows standards. I usually make my pages in XHTML and use CSS with maybe a tiny bit of javascript for nonessential things.

If you are going to be doing web design on Linux and you care what your pages look like in IE, I suggest that you either use a virtual machine or IEs4Linux. You could also use both, so that you could test IE7 on the virtual machine, and all the older IEs on WINE with IEs4Linux.

Don't forget to test your pages in Lynx to see what they look like in a text only browser. An easy way to make a text only version of your site is to use a CGI program called Betsie.

**Check out the Web Developer Toolbar for Firefox**. Also useful is ColorZilla.

When setting up your basic CSS design keep in mind that different browsers handle padding and such differently. Use something like KRuler to get that pixel perfect setup.

Have fun!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to compile Glibc-2.7 with src2pkg-1.93 on Slamd64-current. Shingoshi Slackware 5 01-31-2008 12:24 AM
Surfin' YouTube: inconsistency detected by ld.so Karimo Slackware 15 09-05-2007 05:11 PM
xine problems Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 75: _dl_n behmjoe Linux - Software 5 12-13-2005 09:44 PM
Scribus - no printer detected chii-chan Linux - Software 1 10-19-2003 11:44 PM
Scribus Compile Error -ljpeg HELP! jmccune Linux - Newbie 1 09-16-2003 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration