Getting source to compile slackware 10.1 on 64 bit
on
Cinelerra 2.0 Released
·
· Score: 1
I downloaded the source to my system (64 bit Athlon 3000) running the official Slackware 10.1.
After doing configure, all the Makefiles in the mjpegtools-1.6.3-rc1 subdirectories had CFLAGS and CXXFlags etc with k8 in them. I had to by hand, go through those subdirectories editing the Makefiles, searching for 'k8' and removing the option. After that, I was able to do a 'make' and 'make install'. The thing came up with its nice windows and all. Not that I've actually tried to do anything with it yet, but, in case anyone wants to compile from source, thought I'd pass this on.
I finally knuckled down and got it to compile, drawing upon my C programming past. I did this for both the official slackware 10.1 and the unofficial 64 bit slackware 10.1 using cinelerra-1.2.2-src.tar.bz2.
After running./configure --prefix=/usr, I did 'make 2>/tmp/make.err' to get a separate file with just the errors. Then I went in and modified the code to get rid of the compiler errors. I didn't try to understand the code, so I may have been breaking things, but at least the program started and put up windows.
Here are the names of the files, and the diffs that I made (Not that in cutting and pasting from the output of the script that ran the diffs, lines have been automatically wrapped around and stuff, and I don't know how to undo that.): cinelerra-1.2.2/guicast/arraylist.h : 0a1 > #include cinelerra-1.2.2/mplexhi/multplex.c : 343a344 > break; cinelerra-1.2.2/mplexhi/main.h : 50a51 > #include cinelerra-1.2.2/cinelerra/builddate.h : 1c1
#define BUILDDATE "Thu Sep 8 15:12:52 PDT 2005" cinelerra-1.2.2/cinelerra/recordmonitor.C : 1008c1008/*((dv_t*)*/dv/*)*/ = dv_new(); cinelerra-1.2.2/cinelerra/virtualnode.C : 474,475c474,475 get_prev_auto(input_position, direction, (Auto*)prev_keyframe); get_next_auto(input_position, direction, (Auto*)next_keyframe); --- > prev_keyframe = (IntAuto*)autos->get_prev_auto(input_position, direction, (Auto* &)prev_keyframe); > next_keyframe = (IntAuto*)autos->get_next_auto(input_position, direction, (Auto* &)next_keyframe); cinelerra-1.2.2/cinelerra/panautos.C : 27,28c27,28
previous = (PanAuto*)get_prev_auto(position, direction, (Auto* &)previous); > next = (PanAuto*)get_next_auto(position, direction, (Auto* &)next); cinelerra-1.2.2/cinelerra/main.C : 14a15 > #include cinelerra-1.2.2/cinelerra/floatautos.C : 252,253c252,253
previous = (FloatAuto*)get_prev_auto(position, direction, (Auto* &)previous, 0); > next = (FloatAuto*)get_next_auto(position, direction, (Auto* &)next, 0); cinelerra-1.2.2/cinelerra/virtualvnode.C : 330c330
(Auto* &)mode_keyframe); cinelerra-1.2.2/cinelerra/tracks.C : 298c298
(Auto* &)mute_keyframe); cinelerra-1.2.2/cinelerra/virtualanode.C : 474,475c474,475 get_prev_auto(input_position, direction, (Auto*)prev_keyframe); get_next_auto(input_position, direction, (Auto*)next_keyframe); --- > prev_keyframe = (PanAuto*)autos->get_prev_auto(input_position, direction, (Auto* &)prev_keyframe); > next_keyframe = (PanAuto*)autos->get_next_auto(input_position, direction, (Auto* &)next_keyframe);
For the standard slackware 10.1, I was able to get by with just this: cinelerra-1.2.2/cinelerra/main.C : 14a15 > #include
And, it seems more trustworthy too, though I haven't figured out how use in either distro yet. Nor can I get it to compile in my linux from scratch distro.
As mentioned in another subthread, a good way to capture is with mencoder (Part of MPlayer). You do need a tuner card, (cards based on the bttv chipset have been around a long time, that's what I've used.). The tricky part is what I call the 'incantations'. You have to compile your kernel with support for bttv and sound. I've always created these as modules. Then, you have to load the modules with the correct card type and tuner type. Finally, when you invoke mencoder, it is a command line tool, and the incantation to get that to work can be very tricky. I found the documentation absolutely incomprehensible on how to use it, but I did a web search and found where some one, in a post, gave an example of how they invoked mencoder, and starting from that, I was able to play around with it till I got something that worked. I created a script that I called mencoder from where I just specified the duration, the channel, and the name of the file to save too, but what worked for me in the US pulling in NTSC may not work for you, and anyway, I'm not in a place where I have the script handy.
I read an article a few years back that pointed out that, over a period of thousands of years, the Neanderthals continued to use the same designs in their tools and weapons, whereas the homo saps were constantly experimenting with different designs. Whatever the sizes of their brains, or physical advantages, this would spell their eventual doom.
It is kind of curious that there is no sign of cross-fertization though. Were they really so different. Maybe cross-breeds were sterile, like mules. It seems highly unlikely but I can't help but wonder if maybe they just weren't sexually attracted to each other. In some cases I suppose sex is based on aggression, at least with homo sap, so I imagine some neanderthal females must have been raped. But any offspring of that would have been stuck with the other Neanderthals and shared their fate.
The Dvorak QWERTY debate takes on aspects of a religious war because it is supposed to be an example of "Market Failure", and for some people believe that the market is always right, that its people mucking with the market that cause failure. See the wikipedia article on "path dependence" which has links to the discussion. One link that used to be in that wikipedia article and has been removed for some reason (had to go back to an old version of the article to find it), is http://www.dvorak-keyboard.com/dvorak2.html
One thing I wonder about SATA is how much load does it put on the CPU? One big difference I noticed when using SCSI vs ATA or IDE was that applications that were running that had nothing to do with data being transferred ran noticeably slower when the ide/ata devices were copying large files as compared to SCSIs doing xfers.
Actually, according to the wikipedia, Euler was not the first person to discover this, but rather, Roger Cotes. Though the wikipedia says he proved it in an obscured form. Search for "Euler's formula" in the wikipedia to confirm.
About a year ago there was a flurry of articles about how carbon nanotubes were highly toxic. There was even a thread in slashdot about it. Well, the stories keep coming about wonderful things that can be done with nanotubes but never a mention anymore about their toxicity. Why is that?
There's something about human nature that wants to identify 'best' and 'worst' of things. Some need to reduce the complexity of the world to manageable levels in our brains I suppose. So trying to pick the best or worst of something can be an amusing game for awhile, and one may even learn something new. But what's best or worst is, of course, a matter of taste. For some of us, it's hard to pick even an individual favorite or most hated film (or book, or song, or...). But why is it harder even to pick out the worst movie of all time than the best, assuming such a thing exists? Because fewer people will have seen it to be able to make the judgement call.
In the Gernsback inspired sci-fi magazines there may have been a lot of optimism for the future, but there was a lot of pessimism in the 30s too. Somewhere I read something that was supposed to be a comment by Freeman Dyson about how grim things looked in the 30s, and how much better things are than what people feared would happen at the time. Or consider books like '1984' (written in 1948) or 'Brave New World', written in the 30s. So far, things are better than what they predicted. It seems like we've dodged a lot of bullets (in this parallel universe at least), that doesn't mean we'll always dodge the bullet of course.
From the article: Some day, firms will indeed stop maintaining huge, complex and expensive computer systems that often sit idle and cannot communicate with the computers of suppliers and customers. Instead, they will outsource their computing to specialists (IBM, HP, etc) and pay for it as they use it, just as they now pay for their electricity, gas and water.
Actually, the trend I think has always been AWAY from centralized services. It used to be a factory had a big steam engine with a shaft running along just below the ceiling with a bunch of belts coming down to drive the individual lathes and milling machines and so on. But that changed and each machine got its own electric motor when the technology advanced enough to allow it. Some day, hopefully, homes will have their own individual power supplies and not have to worry about massive blackouts. With computing, the computers become cheaper and cheaper and there is LESS need for centralized services. That's a step back to the 60s, when several companies and/or colleges would all time share on an IBM 360 over telephone lines.
Emacs an early attempt to mimic YACC? I don't think so. The attempt to mimic YACC (and a successful one too, IMHO) is Bison. Emacs started out as some macros for some system that I've never used and don't know much about, but I think, even in its earliest incarnation, its purpose was text editing, whereas YACC is a tool for creating parsers for LALR computer grammers. Of course, emacs has grown to include other functionality as well, but even now, so far as I know, it's not a parser generator.
Gates the most charitable guy in history? I was reading a book review of a biography of the first billionaire, John D. Rockefeller one time. As I recall, John D. gave 10 to 20% of his profits to charity every year from the time he was in his twenties.
Andrew Carnegie, one of his rivals as a billionaire also became famous for his charities, Carnegie Hall and numerous libraries. I believe he actually left only a small fraction of his wealth to his family when he passed away.
I don't think we should get rid of copyright, but I do think copyright protection should go back to what it was 100 years ago, 17 years maximum.
I think the term 'intellectual property' is misleading, designed to befuddle people. Property is something like a car. If somebody steals it, you don't have a car anymore. If somebody duplicates your car, you still have your car. The ONLY reason for copyrights is to encourage people to be creative. Any extensions of the power and protection of copyright beyond that is WRONG. How much harder is someone going to work on a song or a story if they get a 26 year copyright than if they get a 17 year copyright?
Copyrights have a bad side. They limit speech and the synergy of sharing ideas. Somebody writes a tune. Maybe twenty years later, someone's writing a musical or a symphony that reflects back on that earlier time and wants to incorporate the tune, well, they can't. It's not their 'property'.
Shakespeare couldn't have written "As You Like It" with the modern copyright laws.
I've read that humans can discern differences in pitch of about 6 cents (where 'cent' means 1/100th of a semitone). I've experimented with this and it seems to be true for me.
Japan has a low birthrate and low immigration so the population is aging. I remember seeing the claim made (probably on usenet in sci.econ but I can't be sure), that the reason the Japanese are developing robots is to that there will somebody or at least some thing to take care of them when they grow old.
I'd heard the word schadenfreude, and maybe even seen a definition. But I didn't understand what it meant really until I saw the Simpson's episode where Flanders opens the Leftorium.
I'm not much for playing shooter games, but having a latency so that you have to lead your target almost sounds like a feature rather than a bug to me.
Yeah it sounds really clunky. Better to just have the lights go on when someone enters a room, and maintain a particular ambient intensity. Or maybe, have sensors that monitor the human's pupils, if they detect signs of eyestrain, they automatically brighten up whatever location the person is looking at. And maybe have a quick hand gesture if the person, for some reason, wants things darker...or lighter...than usual. Make something like that and I think you'll impress a few people.
It's still possible to be some kind of star as a writer. J.K. Rowling is probably the most egregious example at the moment. A few other writers make millions (Stephen King, obviously). They may not be considered 'serious' in the way that someone like William Faulkner was, but how many people regard modern musicians as 'serious'? Maybe J.K. Rowling signifies a swing of the pendulum, back to story telling. Come to think of it, isn't Rap music as much poetry as music?
I was working for a small software house when version 1.0 (I think that was the version) came out and I was given the job of porting some of our products to it. I was pretty impressed. It was the first time I think I ever programmed with threads, etc. and I got our product working pretty well. Then the next version came out and everything I'd done was broken. I couldn't even figure out a way to fix some of the critical things that needed to be done in the new version which seemed to have a completely different philosophy. I heard stories about a team in England having rewritten it, don't know if any of that is true. But my boss swore off Os/2 forever after that.
I downloaded Blender and the documentation that was downloadable. They wanted you to buy the manual and I was willing. Tried to purchase with my credit card and it wouldn't take it. There was some business about it being international and some extra code which I tried to enter according to directions but it never accepted it. I'd been meaning to try again one of these days but now I suppose it's too late.
I downloaded the source to my system (64 bit
Athlon 3000) running the official Slackware 10.1.
After doing configure, all the Makefiles in the
mjpegtools-1.6.3-rc1 subdirectories had
CFLAGS and CXXFlags etc with k8 in them. I had
to by hand, go through those subdirectories
editing the Makefiles, searching for 'k8' and
removing the option. After that, I was able
to do a 'make' and 'make install'. The thing
came up with its nice windows and all. Not
that I've actually tried to do anything with it
yet, but, in case anyone wants to compile from
source, thought I'd pass this on.
I finally knuckled down and got it to compile, drawing upon my C programming past. I did this for both the official slackware 10.1 and the unofficial 64 bit slackware 10.1 using cinelerra-1.2.2-src.tar.bz2.
After running
'make 2>
with just the errors. Then I went in and
modified the code to get rid of the compiler
errors. I didn't try to understand the code,
so I may have been breaking things, but at least
the program started and put up windows.
Here are the names of the files, and the
diffs that I made (Not that in cutting and
pasting from the output of the script that
ran the diffs, lines have been automatically
wrapped around and stuff, and I don't know
how to undo that.):
cinelerra-1.2.2/guicast/arraylist.h :
0a1
> #include
cinelerra-1.2.2/mplexhi/multplex.c :
343a344
> break;
cinelerra-1.2.2/mplexhi/main.h :
50a51
> #include
cinelerra-1.2.2/cinelerra/builddate.h :
1c1
#define BUILDDATE "Thu Sep 8 15:12:52 PDT 2005"
cinelerra-1.2.2/cinelerra/recordmonitor.C :
1008c1008
cinelerra-1.2.2/cinelerra/virtualnode.C :
474,475c474,475
get_prev_auto(input_position, direction, (Auto*)prev_keyframe);
get_next_auto(input_position, direction, (Auto*)next_keyframe);
---
> prev_keyframe = (IntAuto*)autos->get_prev_auto(input_position, direction, (Auto* &)prev_keyframe);
> next_keyframe = (IntAuto*)autos->get_next_auto(input_position, direction, (Auto* &)next_keyframe);
cinelerra-1.2.2/cinelerra/panautos.C :
27,28c27,28
previous = (PanAuto*)get_prev_auto(position, direction, (Auto* &)previous);
> next = (PanAuto*)get_next_auto(position, direction, (Auto* &)next);
cinelerra-1.2.2/cinelerra/main.C :
14a15
> #include
cinelerra-1.2.2/cinelerra/floatautos.C :
252,253c252,253
previous = (FloatAuto*)get_prev_auto(position, direction, (Auto* &)previous, 0);
> next = (FloatAuto*)get_next_auto(position, direction, (Auto* &)next, 0);
cinelerra-1.2.2/cinelerra/virtualvnode.C :
330c330
(Auto* &)mode_keyframe);
cinelerra-1.2.2/cinelerra/tracks.C :
298c298
(Auto* &)mute_keyframe);
cinelerra-1.2.2/cinelerra/virtualanode.C :
474,475c474,475
get_prev_auto(input_position, direction, (Auto*)prev_keyframe);
get_next_auto(input_position, direction, (Auto*)next_keyframe);
---
> prev_keyframe = (PanAuto*)autos->get_prev_auto(input_position, direction, (Auto* &)prev_keyframe);
> next_keyframe = (PanAuto*)autos->get_next_auto(input_position, direction, (Auto* &)next_keyframe);
For the standard slackware 10.1, I was able
to get by with just this:
cinelerra-1.2.2/cinelerra/main.C :
14a15
> #include
And, it seems more trustworthy too, though I
haven't figured out how use in either distro
yet. Nor can I get it to compile in my
linux from scratch distro.
As mentioned in another subthread, a good way to capture
is with mencoder (Part of MPlayer). You do need a tuner card,
(cards based on the bttv chipset have been around a long time,
that's what I've used.). The tricky part is what I call the
'incantations'. You have to compile your kernel with support
for bttv and sound. I've always created these as modules. Then,
you have to load the modules with the correct card type and
tuner type. Finally, when you invoke mencoder, it is a command
line tool, and the incantation to get that to work can be very
tricky. I found the documentation absolutely incomprehensible
on how to use it, but I did a web search and found where some
one, in a post, gave an example of how they invoked mencoder,
and starting from that, I was able to play around with it till I
got something that worked. I created a script that I called
mencoder from where I just specified the duration, the channel,
and the name of the file to save too, but what worked for me
in the US pulling in NTSC may not work for you, and anyway,
I'm not in a place where I have the script handy.
I read an article a few years back that pointed out that, over a period of thousands of years, the Neanderthals continued to use the same designs in their tools and weapons, whereas the homo saps were constantly experimenting with different designs. Whatever the sizes of their brains, or physical advantages, this would spell their eventual doom.
It is kind of curious that there is no sign of cross-fertization though. Were they really so different. Maybe cross-breeds were sterile, like mules. It seems highly unlikely but I can't help but wonder if maybe they just weren't sexually attracted to each other. In some cases I suppose sex is based on aggression, at least with homo sap, so I imagine some neanderthal females must have been raped. But any offspring of that would have been stuck with the other Neanderthals and shared their fate.
The Dvorak QWERTY debate takes on aspects of a
religious war because it is supposed to be an
example of "Market Failure", and for some people
believe that the market is always right, that its
people mucking with the market that cause failure.
See the wikipedia article on "path dependence"
which has links to the discussion. One link that
used to be in that wikipedia article and has
been removed for some reason (had to go back to
an old version of the article to find it), is
http://www.dvorak-keyboard.com/dvorak2.html
I've only just dabbled with blender, but it's supposed to be useable for creating games isn't it.
Would it be suitable for what you want?
One thing I wonder about SATA is how much load
does it put on the CPU? One big difference I
noticed when using SCSI vs ATA or IDE was that
applications that were running that had nothing
to do with data being transferred ran noticeably
slower when the ide/ata devices were copying
large files as compared to SCSIs doing xfers.
Actually, according to the wikipedia, Euler was not the first person to discover this, but rather, Roger Cotes. Though the wikipedia says he proved it in an obscured form. Search for "Euler's formula" in the wikipedia to confirm.
About a year ago there was a flurry of articles about how carbon nanotubes were highly toxic. There was even a thread in slashdot about it. Well, the stories keep coming about wonderful things that can be done with nanotubes but never a mention anymore about their toxicity. Why is that?
There's something about human nature that wants
to identify 'best' and 'worst' of things. Some
need to reduce the complexity of the world to
manageable levels in our brains I suppose. So
trying to pick the best or worst of something can
be an amusing game for awhile, and one may even
learn something new. But what's best or worst is,
of course, a matter of taste. For some of us,
it's hard to pick even an individual favorite or
most hated film (or book, or song, or
But why is it harder even to pick out the worst
movie of all time than the best, assuming such
a thing exists? Because fewer people will have
seen it to be able to make the judgement call.
In the Gernsback inspired sci-fi magazines there may
have been a lot of optimism for the future, but there was a lot of pessimism in the 30s too. Somewhere I read something that was supposed to be a comment by Freeman Dyson about how grim things looked in the 30s, and how much better things are than what people feared would happen at the time. Or consider books like '1984' (written in 1948) or 'Brave New World', written in the 30s. So far, things are better than what they predicted. It seems like we've dodged a lot of bullets (in this parallel universe at least), that doesn't mean we'll always dodge the bullet of course.
From the article:
Some day, firms will indeed stop maintaining huge, complex and expensive computer systems that often sit idle and cannot communicate with the computers of suppliers and customers. Instead, they will outsource their computing to specialists (IBM, HP, etc) and pay for it as they use it, just as they now pay for their electricity, gas and water.
Actually, the trend I think has always been AWAY from centralized services. It used to be a factory had a big steam engine with a shaft running along just below the ceiling with a bunch of belts coming down to drive the individual lathes and milling machines and so on. But that changed and each machine got its own electric motor when the technology advanced enough to allow it. Some day, hopefully, homes will have their own individual power supplies and not have to worry about massive blackouts. With computing,
the computers become cheaper and cheaper and there is LESS need for centralized services. That's a step back to the 60s, when several companies and/or colleges would all time share on an IBM 360 over telephone lines.
Emacs an early attempt to mimic YACC? I don't think so. The attempt to mimic YACC (and a successful one too, IMHO) is Bison. Emacs started out as some macros for some system that I've never used and don't know much about, but I think, even in its earliest incarnation, its purpose was text editing, whereas YACC is a tool for creating parsers for LALR computer grammers. Of course, emacs has grown to include other functionality as well, but even now, so far as I know, it's not a parser generator.
Gates the most charitable guy in history? I was reading a book review of a biography of the first billionaire, John D. Rockefeller one time. As I recall, John D. gave 10 to 20% of his profits to charity every year from the time he was in his twenties.
Andrew Carnegie, one of his rivals as a billionaire also became famous for his charities, Carnegie Hall and numerous libraries. I believe he actually left only a small fraction of his wealth to his family when he passed away.
I don't think we should get rid of copyright, but I do think copyright protection should go back to what it was 100 years ago, 17 years maximum.
I think the term 'intellectual property' is misleading, designed to befuddle people. Property is something like a car. If somebody steals it, you don't have a car anymore. If somebody duplicates your car, you still have your car. The ONLY reason for copyrights is to encourage people to be creative. Any extensions of the power and protection of copyright beyond that is WRONG. How much harder is someone going to work on a song or a story if they get a 26 year copyright than if they get a 17 year copyright?
Copyrights have a bad side. They limit speech and the synergy of sharing ideas. Somebody writes a tune. Maybe twenty years later, someone's writing a musical or a symphony that reflects back on that earlier time and wants to incorporate the tune, well, they can't. It's not their 'property'.
Shakespeare couldn't have written "As You Like It" with the modern copyright laws.
I've read that humans can discern differences in
pitch of about 6 cents (where 'cent' means 1/100th
of a semitone). I've experimented with this and it
seems to be true for me.
Japan has a low birthrate and low immigration so the population is aging. I remember seeing the claim made (probably on usenet in sci.econ but I can't be sure), that the reason the Japanese are developing robots is to that there will somebody or at least some thing to take care of them when they grow old.
I'd heard the word schadenfreude, and maybe even seen a definition. But I didn't understand what it meant really until I saw the Simpson's episode where Flanders opens the Leftorium.
I'm not much for playing shooter games, but having
a latency so that you have to lead your target
almost sounds like a feature rather than a bug
to me.
Yeah it sounds really clunky. Better to just have the lights go on when someone enters a room, and maintain a particular ambient intensity. Or maybe, have sensors that monitor the human's pupils, if they detect signs of eyestrain, they automatically brighten up whatever location the person is looking at. And maybe have a quick hand gesture if the person, for some reason, wants things darker...or lighter...than usual. Make something like that and I think you'll impress a few people.
I saw that on a TV Documentary. I believe it was called the Yehudi project.
It's still possible to be some kind of star as a writer. J.K. Rowling is probably the most egregious example at the moment. A few other writers make millions (Stephen King, obviously). They may not be considered 'serious' in the way that someone like William Faulkner was, but how many people regard modern musicians as 'serious'? Maybe J.K. Rowling signifies a swing of the pendulum, back to story telling. Come to think of it, isn't Rap music as much poetry as music?
Yes, but now the rest of us are saved having to
break out of this thread (mentally as much as
physically) to do a google search.
I was working for a small software house when version 1.0 (I think that was the version) came out and I was given the job of porting some of our products to it. I was pretty impressed. It was the first time I think I ever programmed with threads, etc. and I got our product working pretty well. Then the next version came out and everything I'd done was broken. I couldn't even figure out a way to fix some of the critical things that needed to be done in the new version which seemed to have a completely different philosophy. I heard stories about a team in England having rewritten it, don't know if any of that is true. But my boss swore off Os/2 forever after that.
I downloaded Blender and the documentation that was downloadable. They wanted you to buy the manual and I was willing. Tried to purchase with my credit card and it wouldn't take it. There was some business about it being international and some extra code which I tried to enter according to directions but it never accepted it. I'd been meaning to try again one of these days but now I suppose it's too late.