Installation of Kiso-0.8.3 source files in feodra9

Source: Internet
Author: User
Kiso-0.8.3 source file in feodra9 installation-Linux general technology-Linux technology and application information, the following is read details. Because I want to edit the image file under my fedora 9 (2.6.27.5-41, on the internet to check the information found that kiso software like linux next to a good software processing image files, so on the kiso official website http://kiso.sourceforge.net downthe latest kiso-0.8.3.tar.gz, download and decompress get kiso-0.8.3 folder.
Cd kiso-0.8.3
Ls
The configure file is found, of course
./Configure
An error occurred. The error message is as follows:
Error:
In the prefix, you 've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix! "
Because Gnome 2.0 is used, some KDE libs are not installed, but it cannot be installed now, so:
Yum install kdelibs
Yum install kdelibs-devel
Yum install kdelibs3
Yum install kdelibs3-devel
Yum install kdelibs-common
It seems that before this there is also an error, to use qt3 and qt3-devel, so simply together on it. Haha
And then try again
./Configure
Then, you can see the following information:
...
...
...
Config. pl: fast created 6 file (s ).
Config. status: creating config. h
Config. status: config. h is unchanged
Config. status: executing depfiles commands

Good-your configure finished. Start make now

OK. The configuration is successfully completed. Now we can make it,
Make
Then the information is flowing through the screen, and then the following
Error:
Kiso. cpp: In member function 'virtual void Mainform: choice ()':
Kiso. cpp: 2392: error: 'kic' undeclared (first use this function)
Kiso. cpp: 2392: error: (Each undeclared identifier is reported only once for each function it appears in .)
Kiso. cpp: 2392: error: 'kic' undeclared (first use this function)
Kiso. cpp: 2392: error: 'Type _ open_cd 'undeclared (first use this function)
Kiso. cpp: 2394: error: 'track _ t' undeclared (first use this function)
Kiso. cpp: 2394: error: syntax error before '; 'token
Kiso. cpp: 2400: error: 'First _ track_num 'undeclared (first use this function)
Kiso. cpp: 2400: error: 'Type _ get_first_track_num 'undeclared (first use this function)
Kiso. cpp: 2401: error: 'num _ tracks' undeclared (first use this function)
Kiso. cpp: 2401: error: 'Type _ get_num_tracks 'undeclared (first use this function)
Kiso. cpp: 2402: error: 'track _ FORMAT_AUDIO 'undeclared (first use this function)
Kiso. cpp: 2402: error: 'Type _ get_track_format 'undeclared (first use this function)
Kiso. cpp: 2404: error: 'Type _ destroy 'undeclared (first use this function)
Kiso. cpp: In member function 'virtual void Mainform: createiso (QString )':
Kiso. cpp: 2607: error: 'Type _ open_cd 'undeclared (first use this function)
Kiso. cpp: 2608: error: 'Type _ eject_media 'undeclared (first use this function)
Kiso. cpp: 2609: error: 'Type _ destroy 'undeclared (first use this function)
Kiso. cpp: In member function 'virtual int Mainform: ProgressBar (QString, QString, KShellProcess *, int )':
Kiso. cpp: 2727: error: 'lba _ t' undeclared (first use this function)
Kiso. cpp: 2727: error: syntax error before '= 'token
Kiso. cpp: 2730: error: 'Type _ open_cd 'undeclared (first use this function)
Kiso. cpp: 2731: error: syntax error before '= 'token
Kiso. cpp: 2734: error: 'Type _ get_track_format 'undeclared (first use this function)
Kiso. cpp: 2735: error: 'First _ audio_lba 'undeclared (first use this function)
Kiso. cpp: 2736: error: 'Type _ get_track_lba 'undeclared (first use this function)
Kiso. cpp: 2740: error: 'Type _ stat_size 'undeclared (first use this function)
Kiso. cpp: 2741: error: 'Type _ destroy 'undeclared (first use this function)
Make [2]: *** [kiso. o] Error 1
Make [2]: Leaving directory '/home/brainkilla/Documents/Network/kiso-0.4/src'
Make [1]: *** [all-recursive] Error 1
Make [1]: Leaving directory '/home/brainkilla/Documents/Network/kiso-0.4'
Make: *** [all] Error 2
From the error information, we can find that in the functions of virtual void Mainform: choice () and virtual int Mainform: ProgressBar (QString, QString, KShellProcess *, int), The 'kic' undeclared, that is to say, there is no data type such as kicms. How can this problem be solved? Yes! This is indeed the case, because there is another dependent function library not installed in GOME. install them now (in fact, the libcdio library is also prompted on the download page of the kiso official website ):
Yum install libcdio
Yum install libcdio-devel

OK. Do not forget

Make clean

Then, re-

Make

I thought everything was good. Who knows it was not as good as that? Another error jumped to the screen:
Error:
Kiso. cpp: 3602: error: 'scsi _ mmc_cdb_t 'was not declared in this scope
Kiso. cpp: 3602: error: expected '; 'before 'cdb'
Kiso. cpp: 3604: error: 'cdb' was not declared in this scope
Kiso. cpp: 3604: error: 'Type _ MMC_GPCMD_GET_CONFIGURATION 'was not declared in this scope
Kiso. cpp: 3604: error: 'Type _ MMC_SET_COMMAND 'was not declared in this scope
Kiso. cpp: 3605: error: 'COMMAND _ MMC_SET_READ_LENGTH8 'was not declared in this scopekiso. cpp: 3606: error: 'COMMAND _ MMC_GET_CONF_ALL_FEATURES' was not declared in scope this scope
Kiso. cpp: 3609: error: 'scsi _ MMC_DATA_READ 'was not declared in this scope
Kiso. cpp: 3609: error: 'scsi _ mmc_run_cmd 'was not declared in this scope
Kiso. cpp: 3615: error: 'Type _ MMC_GET_LEN32 'was not declared in this scope
Kiso. cpp: 3621: error: 'Type _ MMC_GET_LEN16 'was not declared in this scope
Kiso. cpp: 3625: error: 'Type _ MMC_FEATURE_CORE 'was not declared in this scope
Make [2]: *** [kiso. o] Error 1
Make [2]: Leaving directory '/home/kck/misc/kiso-0.8.2/src'
Make [1]: *** [all-recursive] Error 1
Make [1]: Leaving directory '/home/kck/misc/kiso-0.8.2'
Make: *** [all] Error 2

Let's take a look at this eorror, huh? It turns out that the data type scsi_mmc_cdb_t is not declared. Do we need to install another library function of libscsimmc ** and its dev? No. In fact, after we install libcdio, you will find the class-1 folder under/usr/include/(the file paths may be different, but they will certainly exist), so:

Cd/usr/include
Ls | grep SVR

You will find the kicloder. Do not hesitate to enter this folder:

Cd advantages
Ls

Now you will find the mmc. h header file. Use vi or gedit to open the file:

Gedit mmc. h

Search for the "scsi_mmc_cdb_t" string and you will find nothing...
But what if I search for "mmc_cdb_t? This data type is actually available. We can see that it is still a struct, and it also has an internal array of fields, as shown in line 3596-3599 of the kiso. cpp in our source file.
(Diso. cpp)
CDIO_MMC_SET_COMMAND (cdb. field, CDIO_MMC_GPCMD_GET_CONFIGURATION );
CDIO_MMC_SET_READ_LENGTH8 (cdb. field, sizeof (buf ));
Cdb. field [1] = CDIO_MMC_GET_CONF_ALL_FEATURES;
Cdb. field [3] = 0x0; (cdb is the defined scsi_mmc_cdb_t type variable, which is known from row 35,944th of kiso. cpp)
Cdb. filed, cdb. filed [1]… Don't hesitate to mention the pen. replace all scsi_mmc_cdb_t In the kiso. cpp source file with mmc_cdb_t! Save and then

Make clean
Make
(This error is estimated to be mmc. after the h header file is upgraded, the names of some data types are changed, while kiso developers still apply the old version mmc. result from the data type name in h .)

At this time, you just need to look at the screen to imagine, and then make completes smoothly, finally:

Make install

After the installation is complete, you can open the kiso software to edit the iso file.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.