I would like to backup to CD, but the tar.gz files are bigger. How can I split it so that it fits on a CD? -- Ronald Wiplinger (CEO of ELMIT) http://www.elmit.com +886 (0) 915 653-452 - I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org PS: Spam prevention! Our system is protected with a spam prevention program. If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please. After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again.
http://kmusicdb.sourceforge.net/ Has anyone had any luck installing this from source (or know where I can get 8.2 rpm's)? libpq++ is part of the PostgreSQL load, so those two should be OK. But without getting libdbmusic to load, I'm out of luck (keep on getting errors while trying to make). I had similar problems trying to load it onto my older 8.0 system, and would like to get this going someday.... Tks. //TB
On Mon, 12 May 2003 15:30:31 +0000
Todd Bissell
http://kmusicdb.sourceforge.net/
Has anyone had any luck installing this from source (or know where I can get 8.2 rpm's)?
No problems here compiling from source for SuSE 8.1. What errors are you getting? Charles -- "...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly)." (By Matt Welsh)
On Mon, 12 May 2003 15:30:31 +0000
Todd Bissell
http://kmusicdb.sourceforge.net/
Has anyone had any luck installing this from source (or know where I can get 8.2 rpm's)?
No problems here compiling from source for SuSE 8.1. What errors are you getting? Charles -- "...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly)." (By Matt Welsh)
Here's what I get when I try to make.... "ale:/home/bis/Downloads/libdbmusic-0.6.1 # make make all-recursive Making all in lib make[2]: Entering directory `/home/bis/Downloads/libdbmusic-0.6.1/lib' /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c dbmusicvalidator.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/q t/include -I/usr/include/pgsql -Wall -pipe -O2 -c dbmusicvalidator.cpp -fPIC - DPIC -o dbmusicvalidator.lo dbmusicvalidator.cpp: In function `QString validateFilename(const QString&)': dbmusicvalidator.cpp:55: error: `endsWith' undeclared (first use this function) dbmusicvalidator.cpp:55: error: (Each undeclared identifier is reported only once for each function it appears in.) dbmusicvalidator.cpp: In function `QString validateQString(const QString&)': dbmusicvalidator.cpp:339: error: `endsWith' undeclared (first use this function) dbmusicvalidator.cpp: In function `QString validateQString(QString&)': dbmusicvalidator.cpp:372: error: `endsWith' undeclared (first use this function) make[2]: *** [dbmusicvalidator.lo] Error 1 make[2]: Leaving directory `/home/bis/Downloads/libdbmusic-0.6.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bis/Downloads/libdbmusic-0.6.1' make: *** [all-recursive-am] Error 2 ale:/home/bis/Downloads/libdbmusic-0.6.1 #" Anything stick out that makes me look damn silly....? :) Cheers, //TB On Tuesday 13 May 2003 00:31, Charles Philip Chan wrote:
On Mon, 12 May 2003 15:30:31 +0000
Todd Bissell
wrote: http://kmusicdb.sourceforge.net/
Has anyone had any luck installing this from source (or know where I can get 8.2 rpm's)?
No problems here compiling from source for SuSE 8.1. What errors are you getting?
Charles
On Mon, 12 May 2003 18:14:55 +0000
Todd Bissell
Anything stick out that makes me look damn silly....? :)
The only strange thing that I can find is your QT installation. Since the compile is looking for QT in the /usr/local/qt prefix instead of the /usr/lib/qt3, I presume that you compiled it yourself. Which version is it? I am using 3.1.2. You might also want to check that you have all the devel packages installed. Charles -- "We all know Linux is great...it does infinite loops in 5 seconds." (Linus Torvalds about the superiority of Linux on the Amterdam Linux Symposium)
On Tuesday 13 May 2003 04:29, Charles Philip Chan wrote:
On Mon, 12 May 2003 18:14:55 +0000
The only strange thing that I can find is your QT installation. Since the compile is looking for QT in the /usr/local/qt prefix instead of the /usr/lib/qt3, I presume that you compiled it yourself. Which version is it? I am using 3.1.2.
You might also want to check that you have all the devel packages installed.
Everything related to QT was first installed with 8.0 (that I later upgraded to 8.2). Since I assume that the new installation didn't neccesarily out-right move any files/directories around during the upgrade process, the /usr/local/qt must be a left-over from 8.0. I don't remember messing around with trying to compile QT when I was trying to get this (and other programs) to work when I had 8.0, but that's not to say that it's a completly 100% sane load, either.... Have qt3 version 3.1.1-62 currently installed. I'm not opposed to doing a mass fresh reload, if it can clear up some of the oddities I've seen trying install from source lately. As far as the devel packages go, I have every one installed -- at least according to YAST2 they are. Tks for the help so far. Cheers, //TB
On Tue, 13 May 2003 05:06:55 +0000
Todd Bissell
Everything related to QT was first installed with 8.0 (that I later upgraded to 8.2). Since I assume that the new installation didn't neccesarily out-right move any files/directories around during the upgrade process, the /usr/local/qt must be a left-over from 8.0.
Then this is really strange. SuSE's QT RPM's does not install into the /usr/local/lib/qt prefix. It looks like you have two QT3 versions installed. I suggest you blow away the one in /usr/local/lib/qt, make sure the SuSE RPM's are installed and try compiling libdbmusic again.
Have qt3 version 3.1.1-62 currently installed.
This version should work, so it is not a QT versioning problem.
I'm not opposed to doing a mass fresh reload, if it can clear up some of the oddities I've seen trying install from source lately.
Well, try taking out the QT in /usr/local/lib/qt first and see what happens. Charles -- "...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly)." (By Matt Welsh)
On Monday 12 May 2003 22:30, Charles Philip Chan wrote:
Then this is really strange. SuSE's QT RPM's does not install into the /usr/local/lib/qt prefix. It looks like you have two QT3 versions installed. I suggest you blow away the one in /usr/local/lib/qt, make sure the SuSE RPM's are installed and try compiling libdbmusic again.
Well, try taking out the QT in /usr/local/lib/qt first and see what happens.
All I have in the /usr/local/lib/qt directory is a Netscape directory. Assuming that you meant to say /usr/local/qt, I wiped that out, uninstalled the QT3 RPM, and re-installed it, and now get....... "ale:/home/bis/Downloads/libdbmusic-0.6.1 # make make all-recursive make[1]: Entering directory `/home/bis/Downloads/libdbmusic-0.6.1' Making all in lib make[2]: Entering directory `/home/bis/Downloads/libdbmusic-0.6.1/lib' /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c dbmusicvalidator.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde3/include -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c dbmusicvalidator.cpp -fPIC -DPIC -o dbmusicvalidator.lo In file included from ../include/dbmusicvalidator.h:21, from dbmusicvalidator.cpp:18: ../include/dbmusicglobals.h:123:21: qstring.h: No such file or directory ../include/dbmusicglobals.h:124:19: qfont.h: No such file or directory In file included from ../include/dbmusicvalidator.h:21, from dbmusicvalidator.cpp:18: ../include/dbmusicglobals.h:141: error: parse error before `,' token ../include/dbmusicglobals.h:152: error: parse error before `,' token ../include/dbmusicglobals.h:168: error: parse error before `,' token ../include/dbmusicglobals.h:181: error: parse error before `,' token ../include/dbmusicglobals.h:182: error: 'QString' is used as a type, but is not defined as a type. ../include/dbmusicglobals.h:247: error: parse error before `,' token ../include/dbmusicglobals.h:248: error: 'QFont' is used as a type, but is not defined as a type. ../include/dbmusicglobals.h:281: error: parse error before `,' token ../include/dbmusicglobals.h:294: error: parse error before `,' token In file included from dbmusicvalidator.cpp:18: ../include/dbmusicvalidator.h:41: error: parse error before `&' token ../include/dbmusicvalidator.h:47: error: parse error before `&' token ../include/dbmusicvalidator.h:52: error: `QString' was not declared in this scope ../include/dbmusicvalidator.h:52: error: parse error before `)' token ../include/dbmusicvalidator.h:58: error: parse error before `&' token ../include/dbmusicvalidator.h:66: error: `QString' was not declared in this scope ../include/dbmusicvalidator.h:66: error: parse error before `)' token ../include/dbmusicvalidator.h:74: error: parse error before `&' token ../include/dbmusicvalidator.h:84: error: `QString' was not declared in this scope ../include/dbmusicvalidator.h:84: error: parse error before `)' token ../include/dbmusicvalidator.h:94: error: parse error before `&' token dbmusicvalidator.cpp:29: error: parse error before `&' token dbmusicvalidator.cpp:38: error: parse error before `&' token dbmusicvalidator.cpp:43: error: parse error before `=' token dbmusicvalidator.cpp:44: error: parse error before `=' token dbmusicvalidator.cpp:45: error: `t' was not declared in this scope dbmusicvalidator.cpp:46: error: `badchars' was not declared in this scope dbmusicvalidator.cpp:47: error: parse error before `for' dbmusicvalidator.cpp:47: error: parse error before `;' token dbmusicvalidator.cpp:47: error: syntax error before `++' token dbmusicvalidator.cpp:49: error: parse error before `;' token dbmusicvalidator.cpp:49: error: syntax error before `++' token dbmusicvalidator.cpp:65: error: `QString' was not declared in this scope dbmusicvalidator.cpp:65: error: `s' was not declared in this scope dbmusicvalidator.cpp:66: error: parse error before `{' token dbmusicvalidator.cpp:68: error: request for member `length' in `z', which is of non-aggregate type `int' dbmusicvalidator.cpp:71: error: parse error before `switch' dbmusicvalidator.cpp:75: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:75: error: conflicting types for `int length' dbmusicvalidator.cpp:68: error: previous declaration as `uint length' dbmusicvalidator.cpp:76: error: parse error before `break' dbmusicvalidator.cpp:85: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:85: error: redefinition of `int length' dbmusicvalidator.cpp:75: error: `int length' previously defined here dbmusicvalidator.cpp:86: error: parse error before `}' token dbmusicvalidator.cpp:93: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:93: error: redefinition of `int length' dbmusicvalidator.cpp:85: error: `int length' previously defined here dbmusicvalidator.cpp:94: error: parse error before `}' token dbmusicvalidator.cpp:98: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:98: error: redefinition of `int length' dbmusicvalidator.cpp:93: error: `int length' previously defined here dbmusicvalidator.cpp:100: error: parse error before `}' token dbmusicvalidator.cpp:101: error: parse error before `;' token dbmusicvalidator.cpp:101: error: syntax error before `++' token dbmusicvalidator.cpp:135: error: syntax error before `:' token dbmusicvalidator.cpp:138: error: syntax error before `:' token dbmusicvalidator.cpp:147: error: syntax error before `:' token dbmusicvalidator.cpp:150: error: syntax error before `:' token dbmusicvalidator.cpp:155: error: syntax error before `:' token dbmusicvalidator.cpp:163: error: parse error before `&' token dbmusicvalidator.cpp:166: error: conflicting types for `uint length' dbmusicvalidator.cpp:98: error: previous declaration as `int length' dbmusicvalidator.cpp:166: error: request for member `length' in `z', which is of non-aggregate type `int' dbmusicvalidator.cpp:169: error: parse error before `switch' dbmusicvalidator.cpp:173: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:173: error: conflicting types for `int length' dbmusicvalidator.cpp:166: error: previous declaration as `uint length' dbmusicvalidator.cpp:174: error: parse error before `break' dbmusicvalidator.cpp:183: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:183: error: redefinition of `int length' dbmusicvalidator.cpp:173: error: `int length' previously defined here dbmusicvalidator.cpp:184: error: parse error before `}' token dbmusicvalidator.cpp:191: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:191: error: redefinition of `int length' dbmusicvalidator.cpp:183: error: `int length' previously defined here dbmusicvalidator.cpp:192: error: parse error before `}' token dbmusicvalidator.cpp:196: error: ISO C++ forbids declaration of `length' with no type dbmusicvalidator.cpp:196: error: redefinition of `int length' dbmusicvalidator.cpp:191: error: `int length' previously defined here dbmusicvalidator.cpp:198: error: parse error before `}' token dbmusicvalidator.cpp:200: error: parse error before `;' token dbmusicvalidator.cpp:200: error: syntax error before `++' token dbmusicvalidator.cpp:234: error: syntax error before `:' token dbmusicvalidator.cpp:237: error: syntax error before `:' token dbmusicvalidator.cpp:246: error: syntax error before `:' token dbmusicvalidator.cpp:249: error: syntax error before `:' token dbmusicvalidator.cpp:254: error: syntax error before `:' token dbmusicvalidator.cpp:264: error: `QString' was not declared in this scope dbmusicvalidator.cpp:264: error: parse error before `)' token dbmusicvalidator.cpp:269: error: parse error before `=' token dbmusicvalidator.cpp:270: error: `t' was not declared in this scope dbmusicvalidator.cpp:270: error: parse error before `;' token dbmusicvalidator.cpp:270: error: syntax error before `++' token dbmusicvalidator.cpp:293: error: parse error before `&' token dbmusicvalidator.cpp:298: error: parse error before `=' token dbmusicvalidator.cpp:299: error: `t' was not declared in this scope dbmusicvalidator.cpp:299: error: parse error before `;' token dbmusicvalidator.cpp:299: error: syntax error before `++' token dbmusicvalidator.cpp:323: error: parse error before `&' token dbmusicvalidator.cpp:327: error: parse error before `=' token dbmusicvalidator.cpp:328: error: redefinition of `int z' dbmusicvalidator.cpp:45: error: `int z' previously defined here dbmusicvalidator.cpp:329: error: parse error before `do' dbmusicvalidator.cpp:336: error: syntax error before `+=' token dbmusicvalidator.cpp:356: error: `QString' was not declared in this scope dbmusicvalidator.cpp:356: error: parse error before `)' token dbmusicvalidator.cpp:360: error: parse error before `=' token dbmusicvalidator.cpp:361: error: redefinition of `int z' dbmusicvalidator.cpp:328: error: `int z' previously defined here dbmusicvalidator.cpp:362: error: parse error before `do' dbmusicvalidator.cpp:369: error: syntax error before `+=' token dbmusicvalidator.cpp: In function `void __static_initialization_and_destruction_0(int, int)': dbmusicvalidator.cpp:75: warning: statement with no effect dbmusicvalidator.cpp:173: warning: statement with no effect {standard input}: Assembler messages: {standard input}:28: Error: symbol `length' is already defined {standard input}:34: Error: symbol `length' is already defined {standard input}:40: Error: symbol `length' is already defined {standard input}:46: Error: symbol `length' is already defined {standard input}:52: Error: symbol `length' is already defined {standard input}:58: Error: symbol `length' is already defined {standard input}:65: Error: symbol `z' is already defined {standard input}:71: Error: symbol `z' is already defined make[2]: *** [dbmusicvalidator.lo] Error 1 make[2]: Leaving directory `/home/bis/Downloads/libdbmusic-0.6.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bis/Downloads/libdbmusic-0.6.1' make: *** [all-recursive-am] Error 2 ale:/home/bis/Downloads/libdbmusic-0.6.1 #" Ideas....? Thanks! //TB
On Tue, 13 May 2003 07:56:40 -0700
Todd Bissell
-I../include -I/opt/kde3/include -I/usr/local/qt/include ... -I/usr/local/qt/include -I/usr/include/pgsql -Wall -pipe -O2 -c
It is still trying to find QT in /usr/local/qt. Trying logging out and log back in to see if it helps. You might also want to run ldconfig just to be sure. If problems persist:(1) Make sure that QTDIR is set to /usr/lib/qt3 in /etc/SuSEConfig/profile,(2) Make sure that QTDIR is not set to something else in /etc/profile.local,(3) Logout and back in before starting the configuration and compile process. Charles -- "All language designers are arrogant. Goes with the territory..." (By Larry Wall)
On Tue, 2003-05-13 at 07:04, Ronald Wiplinger wrote:
I would like to backup to CD, but the tar.gz files are bigger. How can I split it so that it fits on a CD?
Not to be cheeky, but just limit how many files you stuff into a tgz, and then make more as you need them to satisy your backup. That's all I do. Regards, dk -- David "Dunkirk" Krider, http://www.davidkrider.com Acts 17:28, "For in Him we live, and move, and have our being." Linux: Will you use the power for good... or for AWESOME?
On Mon, 2003-05-12 at 22:05, David Krider wrote:
On Tue, 2003-05-13 at 07:04, Ronald Wiplinger wrote:
I would like to backup to CD, but the tar.gz files are bigger. How can I split it so that it fits on a CD?
Hate to state the obvious but
split --bytes=600m cd.tar.gz
then cat cd.tar.gz.01 cd.tar.gz.02 ..... > cd.tar.gz
split --help
Usage: split [OPTION] [INPUT [PREFIX]]
Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default
PREFIX is `x'. With no INPUT, or when INPUT is -, read standard input.
Mandatory arguments to long options are mandatory for short options too.
-a, --suffix-length=N use suffixes of length N (default 2)
-b, --bytes=SIZE put SIZE bytes per output file
-C, --line-bytes=SIZE put at most SIZE bytes of lines per output
file
-l, --lines=NUMBER put NUMBER lines per output file
--verbose print a diagnostic to standard error just
before each output file is opened
--help display this help and exit
--version output version information and exit
SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.
Report bugs to
On Tuesday 13 May 2003 07:04, Ronald Wiplinger wrote:
I would like to backup to CD, but the tar.gz files are bigger. How can I split it so that it fits on a CD?
Use the "split" command! Man i love this sh*t!!!!!! ;) man split to check your commnd versions available arguments. GNU tar has a little different switches. But essentially do something like this: tjones@suse:~> tar -cvf /whateverdir/tar-name.tar . tjones@suse:~> split -b 100m /whateverdir/tar-name.tar tjones@suse:~> You will get however many 100 MB files will be split form your input file 'tar-name.tar'. You can also specify the PREFIX of the files generated. The default is to name the now 100 MB files to xaa....xab...xac...etc.......... I suggest using the archive content in conjunction with a date time group. HTH. -- Thomas Jones Linux-Howtos Administrator
participants (6)
-
Adam Leach
-
Charles Philip Chan
-
David Krider
-
Ronald Wiplinger
-
Thomas Jones
-
Todd Bissell